disconnect_sync


Description:

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

Synchronously requests disconnection and deactivation of the packet data connection.

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

Parameters:

this

A Bearer.

cancellable

A Cancellable or null.

Returns:

true if the operation succeeded, false if error is set.