call_power_off_sync


Description:

[ Version ( since = "2.0.0" ) ]
public bool call_power_off_sync (Variant arg_options, Cancellable? cancellable = null) throws Error

Synchronously invokes the PowerOff D-Bus method on this.

The calling thread is blocked until a reply is received.

See call_power_off for the asynchronous version of this method.

Parameters:

this

A DriveProxy.

arg_options

Argument to pass with the method invocation.

cancellable

A Cancellable or null.

Returns:

true if the call succeded, false if error is set.




2022 vala-language.org