UserMessageSendResult enum Null safety

消息发送结果

Constants

broken → const UserMessageSendResult

通道断开,没有发送

const UserMessageSendResult(2)
emptyUser → const UserMessageSendResult

消息接收的单个用户 ID 为空

const UserMessageSendResult(9)
exceedMaxLength → const UserMessageSendResult

消息超过最大长度(64KB)

const UserMessageSendResult(8)
init → const UserMessageSendResult

连接未完成初始化

const UserMessageSendResult(6)
noConnection → const UserMessageSendResult

没有可用的数据传输通道连接

const UserMessageSendResult(7)
noReceiver → const UserMessageSendResult

找不到接收方

const UserMessageSendResult(3)
noRelayPath → const UserMessageSendResult

获取级联路径失败

const UserMessageSendResult(4)
notJoin → const UserMessageSendResult

发送端用户未加入房间

const UserMessageSendResult(5)
notLogin → const UserMessageSendResult

房间外或应用服务器消息发送方没有登录

const UserMessageSendResult(10)
serverParamsNotSet → const UserMessageSendResult

发送消息给业务方服务器之前没有设置参数

const UserMessageSendResult(11)
success → const UserMessageSendResult

发送成功

const UserMessageSendResult(0)
timeout → const UserMessageSendResult

发送超时,没有发送

const UserMessageSendResult(1)
unknown → const UserMessageSendResult

发送失败,错误未知

const UserMessageSendResult(12)
values → const List<UserMessageSendResult>

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

const List<UserMessageSendResult>

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