hangup

open fun hangup(@NonNull call: CallEvent, @Nullable reason: String): Boolean

Hang-up a call.

This method is asynchronous. The observer will be notified that the call state changes.

Return

true if the call was scheduled for hang-up or false if the call is invalid or already terminated.

Parameters

call

The call to hangup.

reason

The hangup reason, for logging purposes.

See also


Hang-up a call.

This method is asynchronous. The observer will be notified that the call state changes.

Return

true if the call was scheduled for hang-up or false if the call is invalid or already terminated.

Parameters

call

The call to hangup.

See also