Signalling<SignalMssageT extends SignalMessage> class abstract

Constructors

Signalling(String roomID, String localPeerID)

Properties

hashCode int
The hash code for this object.
no setterinherited
localPeerID String
final
onMessage ↔ dynamic Function(SignalMssageT)?
Callback for when a message is received onMessage is the callback SignalMssageT is the type of message Not to be implemented by the user This is set by the WebRTCMesh
getter/setter pair
roomID String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createSignalStreamCallback() → void
init() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage(String type, Map<String, dynamic> message, {bool announce = false}) Future<void>
Send a message to the signalling server and add it to the stream type is the type of message message is the message to send announce is whether to announce the message to the room
toString() String
A string representation of this object.
inherited

Operators

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