Contents

primaryLanguages

A list of BCP 47 codes that identify the languages the synthesizer uses.

Declaration

var primaryLanguages: [String] { get }

Discussion

These languages are what a voice primarily supports. For example, if the primary language is zh-CN — with no additional supportedLanguages — the system may switch voices to speak a phrase that contains other languages. Changing voices depends on user preferences and what accessibility feature is using the voice.

See Also

Inspecting a voice