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, {int requestId = 0}) Future<ResultCode>
Publish topic.
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>
Set or update meeting property.
override
subscribe(String topic) Future<ResultCode>
Subscribe topic. Parameter topic The topic.
override
toString() String
A string representation of this object.
inherited
unsubscribe(String topic) Future<ResultCode>
Unsubscribe topic.
override

Operators

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