set_current_capabilities_sync


Description:

[ Version ( since = "1.0" ) ]
public bool set_current_capabilities_sync (ModemCapability capabilities, Cancellable? cancellable = null) throws Error

Synchronously sets the capabilities of the device.

A restart of the modem may be required.

The calling thread is blocked until a reply is received. See set_current_capabilities for the asynchronous version of this method.

Parameters:

this

A Modem.

capabilities

A ModemCapability mask.

cancellable

A Cancellable or null.

Returns:

true if the capabilities were successfully set, false if error is set.