disconnect_sync


Description:

[ Version ( since = "1.0" ) ]
public bool disconnect_sync (string? bearer, Cancellable? cancellable = null) throws Error

Synchronously requests to disconnect the modem.

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

Parameters:

this

A ModemSimple.

bearer

Path of the bearer to disconnect, or null to disconnect all connected bearers.

cancellable

A Cancellable or null.

Returns:

true if the modem is successfully disconnected, false if error is set.




2022 vala-language.org