ByteRTSErrorCode enum

Inheritance
Available extensions

Values

ByteRTSErrorCodeInvalidToken → const ByteRTSErrorCode

@brief Token is invalid.
The token used when joining the room is invalid or expired. The user is required to retrieve the token and update it by calling updateToken:.

ByteRTSErrorCodeJoinRoom → const ByteRTSErrorCode

@brief Join room error.
An unknown error occurred when joining the room, which caused the room to fail to join. Users are required to rejoin the room.

ByteRTSErrorCodeDuplicateLogin → const ByteRTSErrorCode

@brief The user has been removed from the room because the same user joined the room on the other client.

ByteRTSErrorCodeKickedOut → const ByteRTSErrorCode

@brief The user has been removed from the room by the administrator via a OpenAPI call.

ByteRTSErrorCodeRoomIdIllegal → const ByteRTSErrorCode

@brief When calling createRtcRoom:, if the roomId is illegal, it will return null and throw the error

ByteRTSErrorCodeTokenExpired → const ByteRTSErrorCode

@brief Token expired. Call joinRoomByKey:roomId:userInfo:rtcRoomConfig: to rejoin with a valid Token.

ByteRTSErrorCodeUpdateTokenWithInvalidToken → const ByteRTSErrorCode

@brief The Token you provided when calling updateToken: is invalid.

ByteRTSErrorCodeRoomDismiss → const ByteRTSErrorCode

@brief Users have been removed from the room because the administrator dismissed the room by calling OpenAPI.

ByteRTSErrorRoomAlreadyExist → const ByteRTSErrorCode

@brief there is a room with the same roomId,whose room id is the same with echo test

ByteRTSErrorUserIDDifferent → const ByteRTSErrorCode

@brief The local user joins multiple rooms with different uid.
In the same engine instance, users need to use the same uid to join different rooms.

ByteRTSErrorCodeAbnormalServerStatus → const ByteRTSErrorCode

@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.

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<ByteRTSErrorCode>
A constant List of the values in this enum, in order of their declaration.