AudioDataSource class
- Implemented types
Constructors
- AudioDataSource.asset(String path, {double? playSpeed, String? package, double? pitch, Duration? duration})
- AudioDataSource.file(String path, {double? playSpeed, double? pitch, Duration? duration})
-
AudioDataSource.liveStream(String path, {double? playSpeed, double? pitch, Map<
String, String> ? headers, Duration? duration}) -
AudioDataSource.network(String path, {Map<
String, String> ? headers, bool? cached = false, double? playSpeed, Duration? duration, double? pitch})
Properties
- audioDataSourceType → AudioDataSourceType
-
final
- audioSourceType → AudioSourceType
-
no setteroverride
- cached → bool?
-
final
- duration → Duration?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- package → String?
-
final
- path → String
-
final
- pitch → double?
-
final
- playSpeed → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited