UserMessageSendResult enum

{zh} * @detail errorcode @brief 发送消息结果,成功或失败,及失败原因

Inheritance
Available extensions

Values

success → const UserMessageSendResult

@brief 发送消息成功。

timeout → const UserMessageSendResult

@brief 消息发送失败。发送超时。

broken → const UserMessageSendResult

@brief 消息发送失败。连接断开,消息未发出。

noReceiver → const UserMessageSendResult

@brief 消息发送失败。找不到接收方。

noRelayPath → const UserMessageSendResult

@brief 消息发送失败。远端用户没有登录或进房。

exceedQPS → const UserMessageSendResult

@brief 消息发送失败。超过 QPS 限制。

e2BSSendFailed → const UserMessageSendResult
e2BSReturnFailed → const UserMessageSendResult
notJoin → const UserMessageSendResult

@brief 消息发送失败。消息发送方没有加入房间。

init → const UserMessageSendResult

@brief 消息发送失败。连接未完成初始化。

noConnection → const UserMessageSendResult

@brief 消息发送失败。没有可用的数据传输通道连接。

exceedMaxLength → const UserMessageSendResult

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

emptyUser → const UserMessageSendResult

@brief 消息发送失败。接收方用户 ID 为空。

notLogin → const UserMessageSendResult

@brief 消息发送失败。房间外或应用服务器消息发送方没有登录。

serverParamsNotSet → const UserMessageSendResult

@brief 消息发送失败。发送消息给业务方服务器之前没有设置参数。

unknown → const UserMessageSendResult

@brief 消息发送失败。未知错误。

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<UserMessageSendResult>
A constant List of the values in this enum, in order of their declaration.