PlayerMode enum
This enum is meant to be used as a parameter of the AudioPlayer's constructor. It represents the general mode of the AudioPlayer.
Constructors
- PlayerMode()
-
const
Values
- mediaPlayer → const PlayerMode
-
Ideal for long media files or streams.
- lowLatency → const PlayerMode
-
Ideal for short audio files, since it reduces the impacts on visuals or UI performance.
In this mode the backend won't fire any duration or position updates. Also, it is not possible to use the seek method to set the audio a specific position.
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<
PlayerMode> - A constant List of the values in this enum, in order of their declaration.