[ Version ( since = "2.0.0" ) ]
public async bool install_release_async (Device device, Release release, InstallFlags install_flags, ClientDownloadFlags download_flags, Cancellable? cancellable) throws Error
Installs a new release on a device, downloading the firmware if required.
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 |
a device |
| release |
a release |
| install_flags |
install flags, e.g. fwupd_install_flag_allow_reinstall |
| download_flags |
download flags, e.g. fwupd_client_download_flag_only_p2p |
| cancellable |
optional Cancellable |
| callback |
the function to run on completion |
| callback_data |
the data to pass to |