public enum DestinationAction extends java.lang.Enum<DestinationAction>
IntentConstants.LB_GEO_DESTINATION_ACTION_EXTRA| Enum Constant and Description |
|---|
LEAVE_NAVIGATION
Stops the navigation process and switches to the cruising view (default)
|
PERFORM_ACTION
Performs a specific action
|
SHOW_BUTTON
Executes a given intent when the final destination was reached
|
| Modifier and Type | Method and Description |
|---|---|
static DestinationAction |
fromOrdinal(int ordinal)
Returns the specific enum for the given ordinal representation
|
int |
toOrdinal()
Returns the ordinal representation of this enum
|
static DestinationAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DestinationAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DestinationAction LEAVE_NAVIGATION
public static final DestinationAction PERFORM_ACTION
public static final DestinationAction SHOW_BUTTON
public static DestinationAction[] values()
for (DestinationAction c : DestinationAction.values()) System.out.println(c);
public static DestinationAction 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 int toOrdinal()
public static DestinationAction fromOrdinal(int ordinal)
ordinal - The value to convert