ProcessingState enum Null safety

Enumerates the different processing states of a player.

Constants

buffering → const ProcessingState

The player is buffering audio and unable to play.

const ProcessingState(2)
completed → const ProcessingState

The player has reached the end of the audio.

const ProcessingState(4)
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)
ready → const ProcessingState

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

const ProcessingState(3)
values → const List<ProcessingState>

A constant List of the values in this enum, in order of their declaration.

const List<ProcessingState>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited