StreamSubscribeState enum
Subscribe state.
Values
- subStateIdle → const StreamSubscribeState
-
0: Initial subscribe state after joining the channel.
- subStateNoSubscribed → const StreamSubscribeState
-
1: Subscription failed. Possible reasons: Remote user: Called muteLocalAudioStream (true) or muteLocalVideoStream (true) to stop sending local media streams. Called disableAudio or disableVideo to disable local audio or video modules. Called enableLocalAudio (false) or enableLocalVideo (false) to disable local audio or video capture. User is an audience member. Local user called the following methods to stop receiving remote media streams: Called muteRemoteAudioStream (true), muteAllRemoteAudioStreams (true) to stop receiving remote audio streams. Called muteRemoteVideoStream (true), muteAllRemoteVideoStreams (true) to stop receiving remote video streams.
- subStateSubscribing → const StreamSubscribeState
-
2: Subscribing.
- subStateSubscribed → const StreamSubscribeState
-
3: Remote stream received, subscription successful.
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
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
Constants
-
values
→ const List<
StreamSubscribeState> - A constant List of the values in this enum, in order of their declaration.