UserMessageSendResult enum

消息发送结果

Inheritance

Constructors

UserMessageSendResult()
const

Values

success → const UserMessageSendResult

发送成功

timeout → const UserMessageSendResult

发送超时,没有发送

broken → const UserMessageSendResult

通道断开,没有发送

noReceiver → const UserMessageSendResult

找不到接收方

noRelayPath → const UserMessageSendResult

获取级联路径失败

exceedQPS → const UserMessageSendResult

超过 QPS 限制

e2BSSendFailed → const UserMessageSendResult

消息发送失败。应用服务器未收到客户端发送的消息。 由 RTCVideo.sendServerMessage/RTCVideo.sendServerBinaryMessage 触发,通过 RTCVideoEventHandler.onServerMessageSendResult 回调。

e2BSReturnFailed → const UserMessageSendResult

消息发送失败。应用服务器接收到了客户端发送的消息,但响应失败。 由 RTCVideo.sendServerMessage/RTCVideo.sendServerBinaryMessage 触发,通过 RTCVideoEventHandler.onServerMessageSendResult 回调。

notJoin → const UserMessageSendResult

发送端用户未加入房间

init → const UserMessageSendResult

连接未完成初始化

noConnection → const UserMessageSendResult

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

exceedMaxLength → const UserMessageSendResult

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

emptyUser → const UserMessageSendResult

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

notLogin → const UserMessageSendResult

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

serverParamsNotSet → const UserMessageSendResult

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

unknown → const UserMessageSendResult

发送失败,错误未知

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