PlayerState enum
Indicates the state of the audio player.
Values
- stopped → const PlayerState
-
initial state, stop has been called or an error occurred.
- playing → const PlayerState
-
Currently playing audio.
- paused → const PlayerState
-
Pause has been called.
- completed → const PlayerState
-
The audio successfully completed (reached the end).
Properties
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<
PlayerState> - A constant List of the values in this enum, in order of their declaration.