PlaybackState enum
Values
- none → const PlaybackState
-
const PlaybackState(0) - stopped → const PlaybackState
-
const PlaybackState(1) - paused → const PlaybackState
-
const PlaybackState(2) - playing → const PlaybackState
-
const PlaybackState(3) - fastForwarding → const PlaybackState
-
const PlaybackState(4) - rewinding → const PlaybackState
-
const PlaybackState(5) - buffering → const PlaybackState
-
const PlaybackState(6) - error → const PlaybackState
-
const PlaybackState(7) - connecting → const PlaybackState
-
const PlaybackState(8) - skippingToPrevious → const PlaybackState
-
const PlaybackState(9) - skippingToNext → const PlaybackState
-
const PlaybackState(10) - skippingToQueueItem → const PlaybackState
-
const PlaybackState(11)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isPlaying → bool
-
no setter
- 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
- value → int
-
final
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
-
fromInt(
int? value) → PlaybackState -
fromString(
String? stateName) → PlaybackState
Constants
-
values
→ const List<
PlaybackState> - A constant List of the values in this enum, in order of their declaration.