SetRoomExtraInfoResult enum

设置房间附加消息结果。

Inheritance
Available extensions

Values

success → const SetRoomExtraInfoResult

设置房间附加信息成功。

notJoinRoom → const SetRoomExtraInfoResult

设置失败,尚未加入房间。

keyIsNull → const SetRoomExtraInfoResult

设置失败,key 指针为空。

valueIsNull → const SetRoomExtraInfoResult

设置失败,value 指针为空

unknown → const SetRoomExtraInfoResult

设置失败,未知错误

keyIsEmpty → const SetRoomExtraInfoResult

设置失败,key 长度为 0。

tooOften → const SetRoomExtraInfoResult

调用 RTCRoom.setRoomExtraInfo 过于频繁,建议不超过 10 次/秒。

silentUser → const SetRoomExtraInfoResult

设置失败,用户已调用 RTCRoom.setUserVisibility 将自身设为隐身状态。

keyTooLong → const SetRoomExtraInfoResult

设置失败,Key 长度超过 10 字节。

valueTooLong → const SetRoomExtraInfoResult

设置失败,value 长度超过 128 字节

serverError → const SetRoomExtraInfoResult

设置失败,服务器错误。

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<SetRoomExtraInfoResult>
A constant List of the values in this enum, in order of their declaration.