[ 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 [ method@Client.set_main_context].
| this |
a Client |
| device_id |
the device ID |
| bytes |
cabinet archive |
| 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 |