UserMessageSendResult enum

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

Inheritance
Available extensions

Values

success → const UserMessageSendResult

@brief Message sent successfully.

timeout → const UserMessageSendResult

@brief Failure. A timeout occurred.

broken → const UserMessageSendResult

@brief Failure. The connection was lost before the message could be sent.

noReceiver → const UserMessageSendResult

@brief Failure. The recipient could not be found.

noRelayPath → const UserMessageSendResult

@brief Failure. The remote user is not logged in or has not joined a room.

exceedQPS → const UserMessageSendResult

@brief Failure. Exceeds QPS limit.

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

@brief Failure. The sender has not joined the room.

init → const UserMessageSendResult

@brief Failure. The connection has not been initialized.

noConnection → const UserMessageSendResult

@brief Failure. No available data transmission channel.

exceedMaxLength → const UserMessageSendResult

@brief Failure. The message size exceeds the maximum limit (64 KB).

emptyUser → const UserMessageSendResult

@brief Failure. The ID of the recipient is empty.

notLogin → const UserMessageSendResult

@brief Failure.The sender is not logged in.

serverParamsNotSet → const UserMessageSendResult

@brief Failure. Required parameters for sending to the application server were not set.

unknown → const UserMessageSendResult

@brief Failure. Unknown error.

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.