requestTTS

abstract fun requestTTS(    text: String,     format: TTSAgentInterface.Format = TTSAgentInterface.Format.TEXT,     playServiceId: String? = null,     listener: TTSAgentInterface.OnPlaybackListener? = null): String?

Send request for TTS response given text

Return

the dialog request id for the request, null if failed.

Parameters

text

the source text for TTS

format

the format of text

playServiceId

the playServiceId which request tts, null if not specified.

listener

the listener for TTS playback