RoomMessageSendResult enum Null safety

房间内群发消息结果

Constants

exceedMaxLength → const RoomMessageSendResult

发送失败,消息超过最大长度(64KB)

const RoomMessageSendResult(4)
init → const RoomMessageSendResult

发送失败,连接未完成初始化

const RoomMessageSendResult(2)
noConnection → const RoomMessageSendResult

发送失败,没有可用的数据传输通道连接

const RoomMessageSendResult(3)
notJoin → const RoomMessageSendResult

发送失败,消息发送方没有加入房间

const RoomMessageSendResult(1)
success → const RoomMessageSendResult

发送成功

const RoomMessageSendResult(0)
unknown → const RoomMessageSendResult

发送失败,错误未知

const RoomMessageSendResult(5)
values → const List<RoomMessageSendResult>

A constant List of the values in this enum, in order of their declaration.

const List<RoomMessageSendResult>

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
index → int

The integer index of this enum.

final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
override

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited