CallState enum
A new CallClient instance starts in the CallState.initialized state. As soon as CallClient.join is invoked, it progresses to the CallState.joining state, and when the client has joined the call, it progresses further to the CallState.joined state. As soon as CallClient.leave is invoked, the state changes to CallState.leaving, followed by CallState.left when this process has completed.
Constructors
- CallState()
-
const
- CallState.fromJson(String value)
-
factory
Values
- initialized → const CallState
-
The initial state of a CallClient. The client will only be in this state before attempting to join its first call and the state will never be entered again after that. Otherwise equivalent to CallState.left.
- joining → const CallState
-
The CallClient is in the process of joining a call.
- joined → const CallState
-
The CallClient is currently in a call.
- leaving → const CallState
-
The CallClient is in the process of leaving a call.
- left → const CallState
-
The CallClient has joined or attempted to join a call and then left. A client can leave a call either due to a successful CallClient.leave or due a fatal error.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited