OryksaTvJustAudioPlayer class
The presenter's voice with just_audio. Plays from a file: bytes from memory go through a local http://127.0.0.1 proxy on Android, which Android 9+ blocks unless the app allows cleartext traffic (Fire TV with Fire OS 7 is Android 9).
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> -
Frees the player.
override
-
load(
{String? file, Uint8List? bytes}) → Future< Duration?> -
Loads an MP3
file(orbyteswhen there is no file, on the web) and returns its length when known.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
play(
) → Future< void> -
Plays what was loaded. Completes when it ends or is stopped.
override
-
stop(
) → Future< void> -
Stops playing.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited