Instance Property

locale

The locale of the speech recognizer.

Declaration

var locale: Locale { get }

Discussion

The locale of the speech recognizer is an NSLocale object. The default value of this property is the system locale (that is, system).

See Also

Getting the Current Language

class func supportedLocales() -> Set<Locale>

Returns the set of locales that are supported by the speech recognizer.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software