disable_sync


Description:

[ Version ( since = "1.0" ) ]
public bool disable_sync (Cancellable? cancellable = null) throws Error

Synchronously tries to disable the Modem.

When disabled, the modem enters low-power state and no network-related operations are available.

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

Parameters:

this

A Modem.

cancellable

A Cancellable or null.

Returns:

true if the modem was properly disabled, false if error is set.




2022 vala-language.org