PlayerMode enum

This represents what kind of native implementation is used by the player.

Currently, this distinction is only relevant for Android.

Inheritance
Available extensions

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

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<PlayerMode>
A constant List of the values in this enum, in order of their declaration.