VoicePresence enum
The state a presence notification carries.
One wire type: "presence" actually carries three incompatible shapes: a membership change (Joined/Left), a toggle
(On/Off, read together with `Signal::Presence`'s kind), or an activity flag
(Speaking/Silent/DeafOn/DeafOff, which carries no kind at all).
Values
- joined → const VoicePresence
- left → const VoicePresence
- on → const VoicePresence
- off → const VoicePresence
- speaking → const VoicePresence
- silent → const VoicePresence
- deaf_on → const VoicePresence
- deaf_off → const VoicePresence
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wire → String
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromWire(
String wire) → VoicePresence
Constants
-
values
→ const List<
VoicePresence> - A constant List of the values in this enum, in order of their declaration.