call_pm_get_state_sync


Description:

public bool call_pm_get_state_sync (Variant arg_options, out uint8 out_state, Cancellable? cancellable = null) throws Error

Synchronously invokes the PmGetState D-Bus method on this.

The calling thread is blocked until a reply is received.

See call_pm_get_state for the asynchronous version of this method.

Parameters:

this

A DriveAtaProxy.

arg_options

Argument to pass with the method invocation.

out_state

Return location for return parameter or null to ignore.

cancellable

A Cancellable or null.

Returns:

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




2022 vala-language.org