install_release_async


Description:

[ Version ( deprecated = true , deprecated_since = "1.5.6" , since = "1.5.0" ) ]
public async bool install_release_async (Device device, Release release, InstallFlags install_flags, Cancellable? cancellable) throws Error

Warning: install_release_async is deprecated since 1.5.6.

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

cancellable

the Cancellable, or null

callback

the function to run on completion

callback_data

the data to pass to callback




2022 vala-language.org