IndexedAudioSourcePlayer class abstract

A player for an IndexedAudioSourceMessage.

Inheritance
Implementers

Constructors

IndexedAudioSourcePlayer(Html5AudioPlayer html5AudioPlayer, String id)

Properties

bufferedPosition Duration
The current buffered position.
no setter
duration Duration?
The duration of the underlying audio source.
no setter
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
position Duration
The current playback position.
no setter
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 setterinherited
shuffleIndices List<int>
The order to use over sequence when in shuffle mode.
no setterinherited

Methods

complete() Future<void>
Called when playback reaches the end of the underlying audio source.
load([int? initialPosition]) Future<Duration?>
Loads the audio for the underlying audio source.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<void>
Pauses playback of the underlying audio source.
play() Future<void>
Plays the underlying audio source.
seek(int position) Future<void>
Seeks to position milliseconds.
timeUpdated(double seconds) Future<void>
Called when the playback position of the underlying HTML5 player changes.
toString() String
A string representation of this object.
override

Operators

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