install_release2
Description:
[ Version ( since = "1.5.6" ) ]
public bool install_release2 (Device device, Release release, InstallFlags install_flags, ClientDownloadFlags download_flags, Cancellable? cancellable = null) throws Error
public bool install_release2 (Device device, Release release, InstallFlags install_flags, ClientDownloadFlags download_flags, Cancellable? cancellable = null) throws Error
Installs a new release on a device, downloading the firmware if required.
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_none |
cancellable |
the Cancellable, or null |
Returns:
true for success |