RoomStateChangeReason enum

{zh} * @detail keytype @brief 房间状态变化原因。

Inheritance
Available extensions

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 the updateToken method to update the token.

token_expired → const RoomStateChangeReason

@brief Token expired. Call joinRoom to rejoin with a valid Token.

update_token_with_invalid_token → const RoomStateChangeReason

@brief The Token you provided when calling updateToken is 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 calling joinRoom, 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.