offline_trigger


Description:


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

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

The function always allows user interaction. To change the behavior, use offline_trigger_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