NEMessageService class Null safety

Constructors

NEMessageService()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addMessageCallback(NEMessageCallback callback) → void
添加IM自定义透传消息监听 callback 消息监听器
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
removeMessageCallback(NEMessageCallback callback) → void
移除IM自定义透传消息监听 callback 消息监听器
sendPassThroughMessage(String roomUuid, String userUuid, String data) Future<VoidResult>
给房间内的userUuid发送透传消息,如房间内信令。 如果需要发送聊天消息请使用NERoomChatControllerroomUuid 房间ID userUuid 用户ID data 自定义的消息内容
toString() String
A string representation of this object.
inherited

Operators

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