install_bytes_async


Description:

[ Version ( since = "1.5.0" ) ]
public async bool install_bytes_async (string device_id, Bytes bytes, InstallFlags install_flags, Cancellable? cancellable) throws Error

Install firmware onto a specific device.

NOTE: This method is thread-safe, but progress signals will be emitted in the global default main context, if not explicitly set with set_main_context.

Parameters:

this

A Client

device_id

the device ID

bytes

Bytes

install_flags

the InstallFlags, e.g. fwupd_install_flag_allow_reinstall

cancellable

the Cancellable, or null

callback

the function to run on completion

callback_data

the data to pass to callback