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.