PlayerState enum

Indicates the state of the audio player.

Inheritance

Constructors

PlayerState()
const

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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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
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.