NEMessageChannelService class Null safety
Message channel service
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 -
Add the callback for IM custom message delivery in pass-through mode
callback
callback for message delivery -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
removeMessageChannelCallback(
NEMessageChannelCallback callback) → void -
Remove the callback for IM custom message delivery in pass-through mode
callback
callback for message delivery -
sendCustomMessage(
String roomUuid, String userUuid, int commandId, String data) → Future< VoidResult> -
Send messages to a user with
userUuid
in the room in pass-through mode. For example, signaling in the room. To send messages, use NERoomChatController.roomUuid
room IDuserUuid
user IDdata
custom message body -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited