ProcessingState enum Null safety

Enumerates the different processing states of a player.

Inheritance

Constructors

ProcessingState()
const

Values

idle → const ProcessingState

The player has not loaded an AudioSource.

const ProcessingState(0)
loading → const ProcessingState

The player is loading an AudioSource.

const ProcessingState(1)
buffering → const ProcessingState

The player is buffering audio and unable to play.

const ProcessingState(2)
ready → const ProcessingState

The player is has enough audio buffered and is able to play.

const ProcessingState(3)
completed → const ProcessingState

The player has reached the end of the audio.

const ProcessingState(4)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<ProcessingState>
A constant List of the values in this enum, in order of their declaration.
[idle, loading, buffering, ready, completed]