Audio class
Constructors
- Audio(String path, {Metas? metas, String? package, double? playSpeed, double? pitch})
- Audio.file(String path, {Metas? metas, double? playSpeed, double? pitch, DrmConfiguration? drmConfiguration})
-
Audio.liveStream(String path, {Metas? metas, double? playSpeed, double? pitch, Map<
String, String> ? headers, DrmConfiguration? drmConfiguration}) -
Audio.network(String path, {Metas? metas, Map<
String, String> ? headers, bool? cached = false, double? playSpeed, double? pitch, DrmConfiguration? drmConfiguration})
Properties
- audioType → AudioType
-
final
- cached → bool?
-
final
-
currentlyOpenedIn
→ Set<
PlayerEditor> -
no setterinherited
- drmConfiguration → DrmConfiguration?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- metas → Metas
-
no setter
-
networkHeaders
→ Map<
String, String> ? -
no setter
- 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
-
copyWith(
{String? path, String? package, AudioType? audioType, Metas? metas, double? playSpeed, Map< String, String> ? headers, bool? cached, DrmConfiguration? drmConfiguration}) → Audio -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeCurrentlyOpenedIn(
PlayerEditor? player) → void -
inherited
-
setCurrentlyOpenedIn(
PlayerEditor? player) → void -
inherited
-
toString(
) → String -
A string representation of this object.
override
-
updateMetas(
{String? title, String? artist, String? album, Map< String, dynamic> ? extra, MetasImage? image}) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override