NIMMessageStatus class

Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

NIMMessageStatus({int? errorCode, bool? readReceiptSent})
NIMMessageStatus.fromJson(Map<String, dynamic> map)
factory

Properties

errorCode int?
消息发送错误码 客户端回填,以及服务器回填 客户端回填的时候, 发送状态为失败 服务器回填的时候, 发送状态为成功 包括如下情况: 1,本地命中发垃圾拦截 2,本地发送超时 3,服务器AI响应消息由于反垃圾失败返回 4,服务器AI响应消息由于三方回调拦截返回 3,4两种情况服务器默认下发消息类型为tips消息,同时下发消息错误码, 由端上拦截处理上抛界面 5,被对方拉黑发送失败 6,以及其他发送失败情况
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
readReceiptSent bool?
群消息开启已读回执配置, 客户端收到消息后需要发送已读回执请求, 该字段记录是否已经发送过已读回执请求, 避免重复发送 只对群消息有效
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited