UriAudioSourcePlayer class abstract

A player for an UriAudioSourceMessage.

Inheritance
Implementers

Constructors

UriAudioSourcePlayer(Html5AudioPlayer html5AudioPlayer, String id, Uri uri, Map<String, String>? headers)

Properties

bufferedPosition Duration
The current buffered position.
no setteroverride
duration Duration?
The duration of the underlying audio source.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
The headers to include in the request (unsupported).
final
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 setteroverride
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
uri Uri
The URL to play.
final

Methods

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

Operators

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