RoomStateChangeReason enum
Values
- JOIN_ROOM → const RoomStateChangeReason
-
@brief Join room success for the first time.
- RECONNECT → const RoomStateChangeReason
-
@brief Rejoin the room, such as the network is reconnected.
- LEAVE_ROOM → const RoomStateChangeReason
-
@brief Leave room.
- JOIN_ROOM_FAILED → const RoomStateChangeReason
-
@brief Failed to enter the room.
When you enter the room for the first time or disconnect and reconnect due to poor network condition, the room entry failed due to a server error. The SDK automatically retries to join the room. - INVALID_TOKEN → const RoomStateChangeReason
-
@brief Token is invalid.
The token used when entering the room is invalid or expired. The user is required to retrieve the token and call theupdateTokenmethod to update the token. - TOKEN_EXPIRED → const RoomStateChangeReason
-
@brief Token expired. Call
joinRoomto rejoin with a valid Token. - UPDATE_TOKEN_WITH_INVALID_TOKEN → const RoomStateChangeReason
-
@brief The Token you provided when calling
updateTokenis invalid. - ROOM_FORBIDDEN → const RoomStateChangeReason
-
@brief The room has banned before the user calls
joinRoom. - USER_FORBIDDEN → const RoomStateChangeReason
-
@brief The user has banned before calling
joinRoom. - KICKED_OUT → const RoomStateChangeReason
-
@brief The user has been remove from the room by the administrator via a OpenAPI call.
- ROOM_DISMISS → const RoomStateChangeReason
-
@brief Users have been removed from the room because the administrator dismissed the room by calling OpenAPI.
- DUPLICATE_LOGIN → const RoomStateChangeReason
-
@brief The user has been removed from the room because the same user joined the room on the other client.
- WITHOUT_LICENSE_AUTHENTICATE_SDK → const RoomStateChangeReason
-
@hidden internal use only @brief Join room error.
The LICENSE billing account does not use the LICENSE_AUTHENTICATE SDK while callingjoinRoom, which caused the joining room to fail. - SERVER_LICENSE_EXPIRED → const RoomStateChangeReason
-
@hidden internal use only @brief Server license expired, refused to enter the room.
- EXCEEDS_THE_UPPER_LIMIT → const RoomStateChangeReason
-
@hidden internal use only @brief Exceeds the upper limit of the concurrency allowed by the server license, and refuses to enter the room.
- LICENSE_PARAMETER_ERROR → const RoomStateChangeReason
-
@hidden internal use only @brief The license parameter is wrong and refuses to enter the room.
- LICENSE_FILE_PATH_ERROR → const RoomStateChangeReason
-
@hidden internal use only @brief wrong license certificate path.
- LICENSE_ILLEGAL → const RoomStateChangeReason
-
@hidden internal use only @brief The license certificate is illegal, refuse to enter the room.
- LICENSE_EXPIRED → const RoomStateChangeReason
-
@hidden internal use only @brief License certificate has expired, refused to enter the room.
- LICENSE_INFORMATION_NOT_MATCH → const RoomStateChangeReason
-
@hidden internal use only @brief The content of the license certificate does not match.
- LICENSE_NOT_MATCH_WITH_CACHE → const RoomStateChangeReason
-
@hidden internal use only @brief licenseThe current certificate does not match the cached certificate.
- LICENSE_FUNCTION_NOT_FOUND → const RoomStateChangeReason
-
@hidden internal use only @brief The license method did not load successfully. Check the corresponding extension.
- STATE_ABNORMAL_SERVER_STATUS → const RoomStateChangeReason
-
@brief The user has been removed from the room due to the abnormal status of server.
SDK is disconnected with the signaling server. It will not reconnect automatically. Please contact technical support. - UNKNOWN → const RoomStateChangeReason
-
@brief Join room error.
An unknown error occurred while entering the room, which caused the joining room to fail. Users are required to rejoin the room.
Properties
- $value → dynamic
-
final
- 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<
RoomStateChangeReason> - A constant List of the values in this enum, in order of their declaration.