Text To Speech
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
Declaration
Swift
extension DefaultTextToSpeech: TextToSpeechEngineDelegate
Initializes the TextToSpeech
object with an implementation of the TextToSpeechEngine
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
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
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