update_install


Description:

public async bool update_install (Parent parent, UpdateInstallFlags flags, Cancellable? cancellable) throws Error

Installs an available software update.

This should be called in response to a [signal@Portal:XdpPortal:update-available] signal.

During the update installation, the [signal@Portal:XdpPortal:update-progresss] signal will be emitted to provide progress information.

Parameters:

this

a [class@Portal]

parent

a [struct@Parent]

flags

options for this call

cancellable

optional [[email protected]]

callback

a callback to call when the request is done

data

data to pass to callback




2022 vala-language.org