update_monitor_start


Description:

public async bool update_monitor_start (UpdateMonitorFlags flags, Cancellable? cancellable) throws Error

Makes `XdpPortal` start monitoring for available software updates.

When a new update is available, the [signal@Portal:XdpPortal:update-available]. signal is emitted.

Use [method@Portal.update_monitor_stop] to stop monitoring.

Parameters:

this

a [class@Portal]

flags

options for this cal..

cancellable

optional [class@Gio.Cancellable]

callback

a callback to call when the request is done

data

data to pass to callback