VoiceSignal class sealed
One +obsidianirc/rtc signalling frame.
Every variant is one JSON object's type. The published
github.com/obbyworld/extensions/blob/main/voice.md documents only 9 of these, the
wire carries 19, and this enum follows the wire. Outbound intent and inbound notification are modelled as distinct shapes where the
wire actually distinguishes them (mic/video/screen/hand/speaking/silent/deaf
versus the presence they get rebroadcast as; promote/demote versus role), rather than
collapsed into one type as the published table's prose implies.
- Implementers
- VoiceSignalAnswer
- VoiceSignalDeaf
- VoiceSignalDemote
- VoiceSignalError
- VoiceSignalHand
- VoiceSignalIce
- VoiceSignalJoin
- VoiceSignalJoined
- VoiceSignalLeave
- VoiceSignalMic
- VoiceSignalOffer
- VoiceSignalPresence
- VoiceSignalPromote
- VoiceSignalReact
- VoiceSignalRole
- VoiceSignalScreen
- VoiceSignalSilent
- VoiceSignalSpeaking
- VoiceSignalVideo
Constructors
-
VoiceSignal.fromJson(Map<
String, dynamic> json) -
factory
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited