offline_trigger_upgrade


Description:


[ Version ( since = "1.0.12" ) ]
public bool offline_trigger_upgrade (OfflineAction action, Cancellable? cancellable = null) throws Error

Triggers the offline system upgrade so that the next reboot will perform the pending transaction.

The function always allows user interaction. To change the behavior, use offline_trigger_upgrade_with_flags.

Parameters:

action

a OfflineAction, e.g. REBOOT

cancellable

A Cancellable or null

Returns:

true for success, else false and error set


Namespace: Pk



2022 vala-language.org