RtcMessageService class
The RtcMessageService class.
- Mixed in types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
broadcastMessage(
Uint8List message, {bool sendBack = true}) → Future< ResultCode> -
Broadcast message to all users.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
publish(
String topic, Uint8List data) → Future< ResultCode> -
@~english
@brief Publish topic.
@param topic The topic.
@param data The topic data.
@return
override
-
sendMessage(
Uint8List message, String userId) → Future< ResultCode> -
Send message to the user specified by userId.
override
-
setEventHandler(
RtcMessageServiceHandler handler) → void - Sets the RtcMessageService event handler.
-
setProperty(
String name, Uint8List value) → Future< ResultCode> -
@~english
@brief Set or update meeting property.
@param name The property name.
@param value The to be set. if value is null or length is 0,
then the property will be removed from server.
@return
override
-
subscribe(
String topic) → Future< ResultCode> -
@~english
@brief Subscribe topic.
@param topic The topic.
@return
override
-
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribe(
String topic) → Future< ResultCode> -
@~english
@brief Unsubscribe topic.
@param topic The topic.
@return
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited