OryksaTvAudioPlayer class abstract
Plays the presenter's voice. The default is OryksaTvJustAudioPlayer; tests pass their own.
- Implementers
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.
-
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. -
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.
-
stop(
) → Future< void> - Stops playing.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited