Package com.tomtom.sdk.tts.engine

Types

Link copied to clipboard
class AudioFocusError : TextToSpeechEngineError

Audio focus request did not finish successfully and voice cannot be generated.

Link copied to clipboard
data class AudioMessage(val message: String, val messageType: MessageType)

Represents an audio message.

Link copied to clipboard
class EngineNotReadyError : TextToSpeechEngineError

TextToSpeechEngine is not initialized and voice cannot be generated.

Link copied to clipboard
interface MessagePlaybackListener

Listener to report the state of the Text-To-Speech message playback.

Link copied to clipboard
class MessageTimedOutError : TextToSpeechEngineError

Message has timed out.

Link copied to clipboard
enum MessageType : Enum<MessageType>

Type of the message to be synthesized.

Link copied to clipboard
interface OnEngineReadyListener

Listener which reports when TextToSpeechEngine is ready.

Link copied to clipboard

TextToSpeechEngine does not support the provided phonetic alphabet.

Link copied to clipboard
interface TextToSpeechEngine : Disposable

Responsible for voice synthesis of audio messages.

Link copied to clipboard
open class TextToSpeechEngineError

Represents an error raised when something went wrong in TextToSpeechEngine.

Link copied to clipboard
class UnknownError : TextToSpeechEngineError

Unexpected error.