public static enum NavigationCue.TriggerMode extends java.lang.Enum<NavigationCue.TriggerMode>
Modifier and Type | Method and Description |
---|---|
static NavigationCue.TriggerMode |
fromValue(java.lang.Character val)
Decodes the TriggerMode from its encoding as a character.
|
java.lang.Character |
toValue()
Encodes the Trigger Mode as a character.
|
static NavigationCue.TriggerMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NavigationCue.TriggerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NavigationCue.TriggerMode DISTANCE
public static final NavigationCue.TriggerMode ETA
public static NavigationCue.TriggerMode[] values()
for (NavigationCue.TriggerMode c : NavigationCue.TriggerMode.values()) System.out.println(c);
public static NavigationCue.TriggerMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Character toValue()
public static NavigationCue.TriggerMode fromValue(java.lang.Character val)
val
- the encoded character