NEMessageChannelService class Null safety

消息通道服务

Constructors

NEMessageChannelService()

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

addMessageChannelCallback(NEMessageChannelCallback callback) → void
添加IM自定义透传消息监听 callback 消息监听器
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
removeMessageChannelCallback(NEMessageChannelCallback callback) → void
移除IM自定义透传消息监听 callback 消息监听器
sendCustomMessage(String roomUuid, String userUuid, int commandId, 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