Method
FwupdClientemulation_load_async
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 |
GBytes |
Archive data of JSON files. |
|
The data is owned by the caller of the function. | |
cancellable |
GCancellable |
Optional |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
The function to run on completion. |
|
The argument can be NULL . | |
callback_data |
gpointer |
The data to pass to |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |