ChatMessageEvent class

消息状态事件类。

Constructors

ChatMessageEvent({void onSuccess(String msgId, EMMessage msg)?, void onError(String msgId, EMMessage msg, EMError error)?, void onProgress(String msgId, int progress)?})

Properties

hashCode int
The hash code for this object.
read-onlyinherited
onError → (void Function(String msgId, EMMessage msg, EMError error)?)
消息发送或下载失败回调。
final
onProgress → (void Function(String msgId, int progress)?)
消息上传或下载进度的回调。
final
onSuccess → (void Function(String msgId, EMMessage msg)?)
消息发送或下载成功回调。
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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