ZIMRoomState enum
Connection state.
Description: The state machine that identifies the current connection state.
Use cases: It can be used to judge whether the user enters/exit the room successfully, and handles abnormal situations such as network disconnection.
Caution: Please use it with the connection event parameter.
Constructors
- ZIMRoomState()
-
const
Values
- disconnected → const ZIMRoomState
-
Description: Disconnected state.
Use cases: enter this state before entering the room and after exiting the room.
- connecting → const ZIMRoomState
-
Description: The connection state is being requested.
Use cases: and it will enter this state after the action of entering the room is executed successfully. The application interface is usually displayed through this state.
- connected → const ZIMRoomState
-
Description: The connection is successful.
Use cases: Entering this state means that the room has been successfully entered, and the user can use the room's functions normally.
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
Constants
-
values
→ const List<
ZIMRoomState> - A constant List of the values in this enum, in order of their declaration.