glasses(didReceiveSynthesisEvent:)
Tells the delegate when a TTSEvent is triggered.
func glasses(didReceiveSynthesisEvent event: SynthesisEvent)
Parameters
event
This indicates the current status of the text-to-speech process.
See also
Text to speech (TTS)
func speakText (text: String, locale: Locale) async throws -> Int
Converts provided text into spoken audio output.
Enumerations
enum SynthesisEvent
This indicates the status updates for the text-to-speech process.