install_release2_async
Description:
[ Version ( since = "1.5.6" ) ]
public async void install_release2_async (Device device, Release release, InstallFlags install_flags, ClientDownloadFlags download_flags, Cancellable? cancellable)
public async void install_release2_async (Device device, Release release, InstallFlags install_flags, ClientDownloadFlags download_flags, Cancellable? cancellable)
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 set_main_context.
Parameters:
this |
A Client |
device |
A Device |
release |
A Release |
install_flags |
the InstallFlags, e.g. fwupd_install_flag_allow_reinstall |
download_flags |
the ClientDownloadFlags, e.g. fwupd_client_download_flag_disable_ipfs |
cancellable |
the Cancellable, or null |
callback |
the function to run on completion |
callback_data |
the data to pass to |