public static enum DirectionsRequest.AccessibilityMode extends java.lang.Enum<DirectionsRequest.AccessibilityMode>
Enum Constant and Description |
---|
CHOOSE_SHORTEST
The route should choose the best route, without taking into account if it is accessible or not
|
ONLY_ACCESSIBLE
The route should always use accessible nodes
|
ONLY_NOT_ACCESSIBLE_FLOOR_CHANGES
The route should never use accessible floor changes (use this to force that routes don't use lifts)
|
Modifier and Type | Method and Description |
---|---|
static DirectionsRequest.AccessibilityMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DirectionsRequest.AccessibilityMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectionsRequest.AccessibilityMode CHOOSE_SHORTEST
public static final DirectionsRequest.AccessibilityMode ONLY_ACCESSIBLE
public static final DirectionsRequest.AccessibilityMode ONLY_NOT_ACCESSIBLE_FLOOR_CHANGES
public static DirectionsRequest.AccessibilityMode[] values()
for (DirectionsRequest.AccessibilityMode c : DirectionsRequest.AccessibilityMode.values()) System.out.println(c);
public static DirectionsRequest.AccessibilityMode 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