ZIMRoomEvent enum
The event that caused the room connection status to change.
Description: The reason for the change of the connection state.
Use cases: It can be used to determine whether the login/logout is successful, and to handle abnormal situations such as network disconnection.
Caution: Please use it with the connection state parameter.
Constructors
- ZIMRoomEvent()
-
const
Values
- success → const ZIMRoomEvent
-
Description: Success.
- interrupted → const ZIMRoomEvent
-
Description: The network in the room is temporarily interrupted.
- disconnected → const ZIMRoomEvent
-
Description: The network in the room is disconnected.
- roomNotExist → const ZIMRoomEvent
-
Description: The room not exist.
- activeCreate → const ZIMRoomEvent
-
Description: The user actively creates a room.
- createFailed → const ZIMRoomEvent
-
Description: Failed to create room.
- activeEnter → const ZIMRoomEvent
-
Description: The user starts to enter the room.
- enterFailed → const ZIMRoomEvent
-
Description: user failed to enter the room.
- kickedOut → const ZIMRoomEvent
-
Description: user was kicked out of the room.
- connectTimeout → const ZIMRoomEvent
- kickedOutByOtherDevice → const ZIMRoomEvent
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<
ZIMRoomEvent> - A constant List of the values in this enum, in order of their declaration.