public enum RouteCalculationType extends java.lang.Enum<RouteCalculationType>
Enum Constant and Description |
---|
Error
Error parsing the result from the native code.
|
RouteAlternative
routing with up to three alternative routes
|
RouteClassic
classic routing, no alternatives
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns the int-value of the enumeration.
|
static RouteCalculationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RouteCalculationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteCalculationType Error
public static final RouteCalculationType RouteClassic
public static final RouteCalculationType RouteAlternative
public static RouteCalculationType[] values()
for (RouteCalculationType c : RouteCalculationType.values()) System.out.println(c);
public static RouteCalculationType 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 getId()