TomTomSDKTextToSpeech
-
Initializes the
TextToSpeech
object with an implementation of theTextToSpeechEngine
protocol.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public func makeTextToSpeech(ttsEngine: TextToSpeechEngine) -> TextToSpeech
Parameters
ttsEngine
The text to speech engine used.
Return Value
An instance of
TextToSpeech
-
Declaration
Swift
extension DefaultTextToSpeech: TextToSpeechEngineDelegate
-
DefaultPhoneticAlphabets provides predefined alphabet codes used in the phonetic transcriptions.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct DefaultPhoneticAlphabets
-
DefaultTags provides predefined tags used in the verbal messages.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct DefaultTags
-
TtsMessagePriority
defines the priority level and timeout of the message.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct TTSMessagePriority
-
TextToSpeech
manages the TTS engine.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol TextToSpeech : AnyObject