isFailed

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

Check if the call state is failed.

A failed state is a terminal state that as a result of the call failing, i.e. it was not connected and this was not due to the user's interaction.

Return

Whether the state is failed.

Parameters

state

The state to check.


open fun isFailed(): Boolean

Check if the call state is failed.

Return

Whether the call state is failed.

See also