LessonAudioPlayer class abstract

Tocador mínimo usado pelo AudioMarkView: play/pausa a partir de bytes, posição e duração. A implementação real usa audioplayers; o teste usa um falso (ver test/lesson_view_test.dart).

Implementers

Constructors

LessonAudioPlayer()

Properties

duration → Stream<Duration?>
no setter
hashCode → int
The hash code for this object.
no setterinherited
position → Stream<Duration>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → Stream<PlayerState>
no setter

Methods

dispose() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → Future<void>
play() → Future<void>
seek(Duration position) → Future<void>
setBytes(LessonAudioBytes audio) → Future<void>
stop() → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited