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.
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
- activeSwitch → const ZIMRoomEvent
- switchFailed → const ZIMRoomEvent
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.