Fwupd.Client.emulation_load_async

### Method

# Fwupd Clientemulation_load_async

since: 1.8.11

#### Declaration [src]

    void
    fwupd_client_emulation_load_async (
      FwupdClient* self,
      GBytes* data,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer callback_data
    )

#### Description [src]

Loads an emulated device into the daemon backend that has the phases set by the JSON data, for instance, having one USB device emulated for the bootloader and another emulated for the runtime interface.

Available since: 1.8.11

#### Parameters

`data`

  Type: `GBytes`

  Archive data of JSON files.

  The data is owned by the caller of the method.

`cancellable`

  Type: `GCancellable`

  Optional `GCancellable`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

`callback`

  Type: `GAsyncReadyCallback`

  The function to run on completion.

  The argument can be `NULL`.

`callback_data`

  Type: `gpointer`

  The data to pass to `callback`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.