isTerminal

open fun isTerminal(@NonNull state: Call.State): Boolean

Check if the call state is terminal.

A terminal state is a state that cannot change. The call in that state is terminated and can only be closed.

Return

Whether the state is terminal.

Parameters

state

The state to check.


open fun isTerminal(): Boolean

Check if the call state is terminal.

Return

Whether the call state is terminal.

See also