LocalizedTextPreference enum - routing library - Dart API
LocalizedTextPreference enum
Indicates the option of localized text usage.
Values
- useNever → const LocalizedTextPreference
-
Information is not included in the notification.
- useAlways → const LocalizedTextPreference
-
Information is included in the notification, if available.
- useIfLanguageIsCompatible → const LocalizedTextPreference
-
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 |
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
LocalizedTextPreference> - A constant List of the values in this enum, in order of their declaration.