hold_and_accept_sync


Description:

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

Synchronously puts all active calls on hold and accepts the next waiting or held call.

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

Parameters:

this

A ModemVoice.

cancellable

A Cancellable or null.

Returns:

true if the operation was successful, false if error is set.