StreamAudioSource class Null safety

An AudioSource that provides audio dynamically. Subclasses must override request to provide the encoded audio data. This API is experimental.

Inheritance
Implementers
Annotations

Constructors

StreamAudioSource({dynamic tag})

Properties

duration Duration?
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sequence List<IndexedAudioSource>
read-only, inherited
shuffleIndices List<int>
read-only, inherited
tag → dynamic
final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
request([int? start, int? end]) Future<StreamAudioResponse>
Used by the player to request a byte range of encoded audio data in small chunks, from byte position start inclusive (or from the beginning of the audio data if not specified) to end exclusive (or the end of the audio data if not specified). If the returned future completes with an error, a 500 response will be sent back to the player.
toString() String
A string representation of this object. [...]
inherited

Operators

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