hangup

abstract fun hangup(callback: CompletionHandler<Void>)

Disconnects this call. This can only be invoked when this call is in answered status.

Since

0.1

Parameters

callback

A closure to be executed when completed, with error if the invocation is illegal or failed, otherwise nil.