DefaultTTSAgent
class DefaultTTSAgent( speechPlayer: MediaPlayerInterface, messageSender: MessageSender, focusManager: SeamlessFocusManagerInterface, contextManager: ContextManagerInterface, playSynchronizer: PlaySynchronizerInterface, interLayerDisplayPolicyManager: InterLayerDisplayPolicyManager, cancelPolicyOnStopTTS: DirectiveHandlerResult.CancelPolicy, channelName: String) : AbstractCapabilityAgent, TTSAgentInterface, MediaPlayerControlInterface.PlaybackEventListener, PlayStackManagerInterface.PlayContextProvider, StopDirectiveHandler.Controller, InterLayerDisplayPolicyManager.Listener
Content copied to clipboard
Constructors
Link copied to clipboard
fun DefaultTTSAgent( speechPlayer: MediaPlayerInterface, messageSender: MessageSender, focusManager: SeamlessFocusManagerInterface, contextManager: ContextManagerInterface, playSynchronizer: PlaySynchronizerInterface, interLayerDisplayPolicyManager: InterLayerDisplayPolicyManager, cancelPolicyOnStopTTS: DirectiveHandlerResult.CancelPolicy, channelName: String)
Content copied to clipboard
Types
Functions
Link copied to clipboard
Add a listener to be called when a state changed.
Link copied to clipboard
Link copied to clipboard
open override fun getPlayContext(): PlayStackManagerInterface.PlayContext?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onDisplayLayerCleared(layer: InterLayerDisplayPolicyManager.DisplayLayer)
Content copied to clipboard
Link copied to clipboard
open override fun onDisplayLayerRendered(layer: InterLayerDisplayPolicyManager.DisplayLayer)
Content copied to clipboard
Link copied to clipboard
open override fun onPlaybackError( id: SourceId, type: ErrorType, error: String)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun preHandleDirective(directive: Directive, result: DirectiveHandlerResult)
Content copied to clipboard
Link copied to clipboard
open override fun provideState( contextSetter: ContextSetterInterface, namespaceAndName: NamespaceAndName, contextType: ContextType, stateRequestToken: Int)
Content copied to clipboard
Link copied to clipboard
Remove a listener
Link copied to clipboard
open override fun requestTTS( text: String, format: TTSAgentInterface.Format, playServiceId: String?, listener: TTSAgentInterface.OnPlaybackListener?): String
Content copied to clipboard
Link copied to clipboard