hangup_sync


Description:

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

Synchronously requests to hangup the call.

Call objects can only be sent once.

The calling thread is blocked until an incoming call is ready. See hangup for the asynchronous version of this method.

Parameters:

this

A Call.

cancellable

A Cancellable or null.

Returns:

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