SetRoomExtraInfoResult enum

Extra information setting result.

Inheritance

Constructors

SetRoomExtraInfoResult()
const

Values

success → const SetRoomExtraInfoResult

Success.

notJoinRoom → const SetRoomExtraInfoResult

Failure. The use is not in the room.

keyIsNull → const SetRoomExtraInfoResult

Failure. The key pointer is null.

valueIsNull → const SetRoomExtraInfoResult

Failure. The value pointer is null.

unknown → const SetRoomExtraInfoResult

Failure. Unknown error.

keyIsEmpty → const SetRoomExtraInfoResult

Failure. The key length is 0.

tooOften → const SetRoomExtraInfoResult

Failure. Excessively frequent setting. 10 times per second is preferable.

silentUser → const SetRoomExtraInfoResult

Failure. Invisible users are not allowed to call RTCRoom.setRoomExtraInfo.

keyTooLong → const SetRoomExtraInfoResult

Failure. Key length exceeds 10 bytes.

valueTooLong → const SetRoomExtraInfoResult

Failure. Value length exceeds 128 bytes.

serverError → const SetRoomExtraInfoResult

Failure. Server error.

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.