ConcatenatingAudioSourcePlayer class
A player for a ConcatenatingAudioSourceMessage
.
- Inheritance
-
- Object
- AudioSourcePlayer
- ConcatenatingAudioSourcePlayer
Constructors
-
ConcatenatingAudioSourcePlayer.new(Html5AudioPlayer html5AudioPlayer, String id, List<
AudioSourcePlayer> audioSourcePlayers, bool useLazyPreparation, List<int> shuffleOrder)
Properties
-
audioSourcePlayers
→ List<
AudioSourcePlayer> -
The players for each child audio source.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- html5AudioPlayer ↔ Html5AudioPlayer
-
The Html5AudioPlayer responsible for audio I/O.
getter/setter pairinherited
- id → String
-
The ID of the underlying audio source.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sequence
→ List<
IndexedAudioSourcePlayer> -
The sequence of players for the indexed items nested in this player.
no setteroverride
-
shuffleIndices
→ List<
int> -
The order to use over sequence when in shuffle mode.
no setteroverride
- useLazyPreparation → bool
-
Whether audio should be loaded as late as possible. (Currently ignored.)
final
Methods
-
insertAll(
int index, List< AudioSourcePlayer> players) → void -
Inserts
players
into this player at positionindex
. -
move(
int currentIndex, int newIndex) → void -
Moves a child player from
currentIndex
tonewIndex
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeRange(
int start, int end) → void - Removes the child players in the specified range.
-
setShuffleOrder(
List< int> shuffleOrder) → void - Sets the current shuffle order.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited