call_set_current_capabilities_sync


Description:

public bool call_set_current_capabilities_sync (uint arg_capabilities, Cancellable? cancellable = null) throws Error

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ModemManager1-Modem.

SetCurrentCapabilities">SetCurrentCapabilities</link> D-Bus method on this. The calling thread is blocked until a reply is received.

See call_set_current_capabilities for the asynchronous version of this method.

Parameters:

this

A GdbusModemProxy.

arg_capabilities

Argument to pass with the method invocation.

cancellable

A Cancellable or null.

Returns:

true if the call succeeded, false if throws is set.