install_async


Description:

[ Version ( since = "1.5.0" ) ]
public async bool install_async (string device_id, string filename, 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 [ method@Client.set_main_context].

Parameters:

this

a Client

device_id

the device ID

filename

the filename to install

install_flags

install flags, e.g. fwupd_install_flag_allow_reinstall

cancellable

optional Cancellable

callback

the function to run on completion

callback_data

the data to pass to callback