ClippingAudioSourcePlayer class
A player for a ClippingAudioSourceMessage
.
- Inheritance
-
- Object
- AudioSourcePlayer
- IndexedAudioSourcePlayer
- ClippingAudioSourcePlayer
Constructors
- ClippingAudioSourcePlayer.new(Html5AudioPlayer html5AudioPlayer, String id, UriAudioSourcePlayer audioSourcePlayer, Duration? start, Duration? end)
Properties
- audioSourcePlayer → UriAudioSourcePlayer
-
final
- bufferedPosition → Duration
-
The current buffered position.
no setteroverride
- duration → Duration?
-
The duration of the underlying audio source.
no setteroverride
- effectiveStart → Duration
-
no setter
- end → Duration?
-
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
- position → Duration
-
The current playback position.
no setteroverride
- remaining → double
-
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 setteroverride
-
shuffleIndices
→ List<
int> -
The order to use over sequence when in shuffle mode.
no setteroverride
- start → Duration?
-
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.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited