-
public final class AudioEngine.PlaybackState of the playback.
-
-
Field Summary
Fields Modifier and Type Field Description private final AudioEngine.Statestateprivate final BooleanplayWhenReadyprivate final Integerindexprivate final Durationoffsetprivate final Durationbuffered
-
Constructor Summary
Constructors Constructor Description AudioEngine.Playback(AudioEngine.State state, Boolean playWhenReady, Integer index, Duration offset, Duration buffered)
-
Method Summary
Modifier and Type Method Description final AudioEngine.StategetState()final BooleangetPlayWhenReady()final IntegergetIndex()final DurationgetOffset()final DurationgetBuffered()-
-
Constructor Detail
-
AudioEngine.Playback
AudioEngine.Playback(AudioEngine.State state, Boolean playWhenReady, Integer index, Duration offset, Duration buffered)
- Parameters:
state- The current state.playWhenReady- Indicates if the navigator should play as soon as the state is Ready.index- Index of the reading order item currently being played.offset- Position of the playback in the current item.buffered- Position in the current item until which the content is buffered.
-
-
Method Detail
-
getState
final AudioEngine.State getState()
-
getPlayWhenReady
final Boolean getPlayWhenReady()
-
getBuffered
final Duration getBuffered()
-
-
-
-