ProgressiveAudioSource class
An AudioSource representing a regular media file such as an MP3 or M4A file. The following URI schemes are supported:
- file: loads from a local file (provided you give your app permission to access that file).
- asset: loads from a Flutter asset (not supported on Web).
- http(s): loads from an HTTP(S) resource.
On platforms except for the web, the supplied headers will be passed with the HTTP(S) request.
If headers are set, just_audio will create a cleartext local HTTP proxy on your device to forward HTTP requests with headers included.
- Inheritance
-
- Object
- AudioSource
- IndexedAudioSource
- UriAudioSource
- ProgressiveAudioSource
Constructors
-
ProgressiveAudioSource(Uri uri, {Map<
String, String> ? headers, dynamic tag, Duration? duration, ProgressiveAudioSourceOptions? options})
Properties
- duration ↔ Duration?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> ? -
finalinherited
- options → ProgressiveAudioSourceOptions?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sequence
→ List<
IndexedAudioSource> -
no setterinherited
-
shuffleIndices
→ List<
int> -
no setterinherited
- tag → dynamic
-
finalinherited
- uri → Uri
-
finalinherited
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