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 [class@Gio.Cancellable]

callback

a callback to call when the request is done

data

data to pass to callback