call_set_power_state_sync
Description:
public bool call_set_power_state_sync (uint arg_state, Cancellable? cancellable = null) throws Error
Synchronously invokes the SetPowerState D-Bus method on this.
The calling thread is blocked until a reply is received.
See call_set_power_state for the asynchronous version of this method.
Parameters:
this | |
arg_state |
Argument to pass with the method invocation. |
cancellable |
A Cancellable or |
Returns:
|