UserMessageSendResult enum

Message delivery result

Inheritance

Constructors

UserMessageSendResult()
const

Values

success → const UserMessageSendResult

The message has been sent successfully.

timeout → const UserMessageSendResult

Failed, message delivery timeout.

broken → const UserMessageSendResult

Failed. Channel disconnected.

noReceiver → const UserMessageSendResult

Failed. Recipient not found.

noRelayPath → const UserMessageSendResult

Failed to get cascade path.

exceedQPS → const UserMessageSendResult

Failure. Exceeds QPS limit.

e2bsSendFailed → const UserMessageSendResult

Failure. The app server failed to receive the message sent from the client.

Triggered by calling RTCVideo.sendServerMessage or RTCVideo.sendServerBinaryMessage, and carried by RTCVideoEventHandler.onServerMessageSendResult callback.

e2bsReturnFailed → const UserMessageSendResult

Failure. The app server received the message sent by the client, but failed to response.

Triggered by calling RTCVideo.sendServerMessage or RTCVideo.sendServerBinaryMessage, and carried by RTCVideoEventHandler.onServerMessageSendResult callback.

notJoin → const UserMessageSendResult

The message sender is not in the room.

init → const UserMessageSendResult

Connection is not initialized.

noConnection → const UserMessageSendResult

No data transmission channel connection available.

exceedMaxLength → const UserMessageSendResult

Message exceeds maximum length (64KB).

emptyUser → const UserMessageSendResult

The ID of the recipient is empty.

notLogin → const UserMessageSendResult

The message sender did not log in.

serverParamsNotSet → const UserMessageSendResult

No parameters were set before sending the message to the server.

unknown → const UserMessageSendResult

Undefined error.

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.