LocalizedTextPreference
public enum LocalizedTextPreference : UInt32, CaseIterable, Codable
Indicates the option of localized text usage.
-
Information is not included in the notification.
Declaration
Swift
case useNever -
Information is included in the notification, if available.
Declaration
Swift
case useAlways -
Information is included in the notification, if available and its language code is compatible with the voice package language. For example, in case the voice package language is German and the localized text information is in Italian, the information is then excluded from the notification. More examples: | Voice package language | Information language | Included | | en-GB | en | yes | | en-GB | de | no | | pt-BR | pt | yes | | pt-PT | pt | yes |
Declaration
Swift
case useIfLanguageIsCompatible