AudioProcessingState enum
The states of audio processing.
Values
- idle → const AudioProcessingState
-
There hasn't been any resource loaded yet.
- loading → const AudioProcessingState
-
Resource is being loaded.
- buffering → const AudioProcessingState
-
Resource is being buffered.
- ready → const AudioProcessingState
-
Resource is buffered enough and available for playback.
- completed → const AudioProcessingState
-
The end of resource was reached.
- error → const AudioProcessingState
-
There was an error loading resource.
PlaybackState.errorCode and PlaybackState.errorMessage will be not null in this state.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- 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
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<
AudioProcessingState> - A constant List of the values in this enum, in order of their declaration.