Method
FwupdClientemulation_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:
GBytesArchive data of JSON files.
The data is owned by the caller of the method. cancellable-
Type:
GCancellableOptional
GCancellable.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackThe function to run on completion.
The argument can be NULL. callback_data-
Type:
gpointerThe data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.