cancel_sync


Description:

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

Synchronously cancels an ongoing USSD session, either mobile or network initiated.

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

Parameters:

this

A Modem3gppUssd.

cancellable

A Cancellable or null.

Returns:

true if the session was successfully cancelled, false if error is set.