NEMessageChannelService class Null safety
消息通道服务
Constructors
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
发送透传消息,如房间内信令。 如果需要发送聊天消息请使用NERoomChatController。roomUuid
房间IDuserUuid
用户IDdata
自定义的消息内容 -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited