ByteRTSErrorCode enum
Values
- ByteRTSErrorCodeInvalidToken → const ByteRTSErrorCode
-
@brief Token 无效。
进房时使用的 Token 无效或过期失效。需要用户重新获取 Token,并调用
updateToken:方法更新 Token。 - ByteRTSErrorCodeJoinRoom → const ByteRTSErrorCode
-
@brief 加入房间错误。
进房时发生未知错误导致加入房间失败。需要用户重新加入房间。 - ByteRTSErrorCodeDuplicateLogin → const ByteRTSErrorCode
-
@brief 相同用户 ID 的用户加入本房间,当前用户被踢出房间
- ByteRTSErrorCodeKickedOut → const ByteRTSErrorCode
-
@brief 服务端调用 OpenAPI 将当前用户踢出房间
- ByteRTSErrorCodeRoomIdIllegal → const ByteRTSErrorCode
-
@brief 当调用
createRtcRoom:,如果 roomId 非法,会返回 null,并抛出该错误 - ByteRTSErrorCodeTokenExpired → const ByteRTSErrorCode
-
@brief Token 过期。调用
joinRoomByKey:roomId:userInfo:rtcRoomConfig:使用新的 Token 重新加入房间。 - ByteRTSErrorCodeUpdateTokenWithInvalidToken → const ByteRTSErrorCode
-
@brief 调用
updateToken:传入的 Token 无效 - ByteRTSErrorCodeRoomDismiss → const ByteRTSErrorCode
-
@brief 服务端调用 OpenAPI 解散房间,所有用户被移出房间。
- ByteRTSErrorRoomAlreadyExist → const ByteRTSErrorCode
-
@brief 通话回路检测已经存在同样 roomId 的房间了
- ByteRTSErrorUserIDDifferent → const ByteRTSErrorCode
-
@brief 加入多个房间时使用了不同的 uid。
同一个引擎实例中,用户需使用同一个 uid 加入不同的房间。 - ByteRTSErrorCodeAbnormalServerStatus → const ByteRTSErrorCode
-
@brief 服务端异常状态导致退出房间。
SDK 与信令服务器断开,并不再自动重连,可联系技术支持。
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.