AudioServiceRepeatMode enum Null safety

The available repeat modes.

This defines how media items should repeat when the current one is finished.

Inheritance

Constructors

AudioServiceRepeatMode()
const

Values

none → const AudioServiceRepeatMode

The current media item or queue will not repeat.

const AudioServiceRepeatMode(0)
one → const AudioServiceRepeatMode

The current media item will repeat.

const AudioServiceRepeatMode(1)
all → const AudioServiceRepeatMode

Playback will continue looping through all media items in the current list.

const AudioServiceRepeatMode(2)
group → const AudioServiceRepeatMode

UNIMPLEMENTED - see https://github.com/ryanheise/audio_service/issues/560

This corresponds to Android's REPEAT_MODE_GROUP.

This could represent a playlist that is a smaller subset of all media items.

const AudioServiceRepeatMode(3)

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
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.
inherited

Operators

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

Constants

values → const List<AudioServiceRepeatMode>
A constant List of the values in this enum, in order of their declaration.
[none, one, all, group]