RtcMessageServiceInterface mixin

The RtcMessageService interface

Mixin Applications

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.
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
sendMessage(Uint8List message, String userId) Future<ResultCode>
Send message to the user specified by userId.
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
subscribe(String topic) Future<ResultCode>
@~english @brief Subscribe topic. @param topic The topic. @return
toString() String
A string representation of this object.
inherited
unsubscribe(String topic) Future<ResultCode>
@~english @brief Unsubscribe topic. @param topic The topic. @return

Operators

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