AudioServiceRepeatMode enum

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.

one → const AudioServiceRepeatMode

The current media item will repeat.

all → const AudioServiceRepeatMode

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

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.

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