-
@Immutable() public final class AudioPlayerStateRepresents the state of the audio player.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAudioPlayerState.CurrentAudioStateRepresents the ongoing state of the audio player.
-
Field Summary
Fields Modifier and Type Field Description private final AudioPlayerState.CurrentAudioStatecurrentprivate final IntFloatMapseekToprivate final Function1<Attachment, String>getRecordingUri
-
Constructor Summary
Constructors Constructor Description AudioPlayerState(AudioPlayerState.CurrentAudioState current, IntFloatMap seekTo, Function1<Attachment, String> getRecordingUri)
-
Method Summary
Modifier and Type Method Description final AudioPlayerState.CurrentAudioStategetCurrent()final IntFloatMapgetSeekTo()final Function1<Attachment, String>getGetRecordingUri()final Stringstringify()-
-
Constructor Detail
-
AudioPlayerState
AudioPlayerState(AudioPlayerState.CurrentAudioState current, IntFloatMap seekTo, Function1<Attachment, String> getRecordingUri)
-
-
Method Detail
-
getCurrent
final AudioPlayerState.CurrentAudioState getCurrent()
-
getSeekTo
final IntFloatMap getSeekTo()
-
getGetRecordingUri
final Function1<Attachment, String> getGetRecordingUri()
-
-
-
-