public static enum RouteOptions.TransportMode extends java.lang.Enum<RouteOptions.TransportMode>
Enum Constant and Description |
---|
CAR
A car is being used as the mode of transportation.
|
PEDESTRIAN
Walking is being used as the mode of transportation.
|
UNDEFINED
Routing mode unknown or unsupported
|
Modifier and Type | Method and Description |
---|---|
static RouteOptions.TransportMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RouteOptions.TransportMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteOptions.TransportMode CAR
public static final RouteOptions.TransportMode PEDESTRIAN
public static final RouteOptions.TransportMode UNDEFINED
public static RouteOptions.TransportMode[] values()
for (RouteOptions.TransportMode c : RouteOptions.TransportMode.values()) System.out.println(c);
public static RouteOptions.TransportMode 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 null