Please Select Your Location
Australia
Österreich
België
Canada
Canada - Français
中国
Česká republika
Denmark
Deutschland
France
HongKong
Iceland
Ireland
Italia
日本
Korea
Latvija
Lietuva
Lëtzebuerg
Malta
المملكة العربية السعودية (Arabic)
Nederland
New Zealand
Norge
Polska
Portugal
Russia
Saudi Arabia
Southeast Asia
España
Suisse
Suomi
Sverige
台灣
Ukraine
United Kingdom
United States
Please Select Your Location
België
Česká republika
Denmark
Iceland
Ireland
Italia
Latvija
Lietuva
Lëtzebuerg
Malta
Nederland
Norge
Polska
Portugal
España
Suisse
Suomi
Sverige

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.