close

open fun close(@NonNull call: CallEvent)

Close a call.

If the call is not yet terminated, closing it terminates it.

Do not forget to close your calls, they use system resources and are not closed automatically. The most convenient way to close them is from onCallStateChanged when the call state is terminal.

Parameters

call

The call to close.