ZIMMessageSentResult class

Callback of the result of sending the message.

Available since: 1.1.0 or above.

Description: This callback is triggered when the developer calls the sendPeerMessage and sendRoomMessage interfaces. The developer can check whether the callback is sent successfully by errorCode in the callback.

message The sent message object, from which parameters such as messageID can be obtained. If the sending fails, the messageID parameter in the message will be an empty int.

Constructors

ZIMMessageSentResult({required ZIMMessage message})

Properties

hashCode int
The hash code for this object.
no setterinherited
message ZIMMessage
getter/setter pair
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