TTSScenarioPlayer

class TTSScenarioPlayer(    playSynchronizer: PlaySynchronizerInterface,     focusManager: SeamlessFocusManagerInterface,     focusChannelName: String,     player: MediaPlayerInterface,     audioPlayStackManager: PlayStackManagerInterface) : MediaPlayerControlInterface.PlaybackEventListener, ChannelObserver

Constructors

Link copied to clipboard
fun TTSScenarioPlayer(    playSynchronizer: PlaySynchronizerInterface,     focusManager: SeamlessFocusManagerInterface,     focusChannelName: String,     player: MediaPlayerInterface,     audioPlayStackManager: PlayStackManagerInterface)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
interface Listener
Link copied to clipboard
abstract class Source : PlaySynchronizerInterface.SynchronizeObject

Functions

Link copied to clipboard
fun addListener(listener: TTSScenarioPlayer.Listener)
Link copied to clipboard
fun cancel(source: TTSScenarioPlayer.Source)
Link copied to clipboard
open override fun onFocusChanged(newFocus: FocusState)
Link copied to clipboard
open override fun onPlaybackError(    id: SourceId,     type: ErrorType,     error: String)
Link copied to clipboard
open override fun onPlaybackFinished(id: SourceId)
Link copied to clipboard
open override fun onPlaybackPaused(id: SourceId)
Link copied to clipboard
open override fun onPlaybackResumed(id: SourceId)
Link copied to clipboard
open override fun onPlaybackStarted(id: SourceId)
Link copied to clipboard
open override fun onPlaybackStopped(id: SourceId)
Link copied to clipboard
fun prepare(source: TTSScenarioPlayer.Source)
Link copied to clipboard
fun removeListener(listener: TTSScenarioPlayer.Listener)
Link copied to clipboard
fun start(source: TTSScenarioPlayer.Source)