[ 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 set_main_context.
this |
A Client |
device_id |
the device ID |
filename |
the filename to install |
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 |