StreamAudioResponse class
The response for a StreamAudioSource. This API is experimental.
- Annotations
-
- @experimental
Constructors
Properties
- contentLength → int?
-
The number of bytes returned in this response, or
null
if unknown. Note: this may be different from the length of the entire media for a range request.final - contentType → String
-
The MIME type of the audio.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset → int?
-
The starting byte position of the response data if responding to a range
request.
final
- rangeRequestsSupported → bool
-
Indicates to the client whether or not range requests are supported for
the requested media. If
true
, the client may make further requests specifying thestart
and possibly also theend
parameters of the range request, otherwise these will both be null.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceLength → int?
-
When responding to a range request, this holds the byte length of the
entire media, otherwise it holds
null
.final -
stream
→ Stream<
List< int> > -
The audio content returned by this response.
final
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