Package es.situm.sdk.directions
Enum Class DirectionsRequest.AccessibilityMode
java.lang.Object
java.lang.Enum<DirectionsRequest.AccessibilityMode>
es.situm.sdk.directions.DirectionsRequest.AccessibilityMode
- All Implemented Interfaces:
Serializable,Comparable<DirectionsRequest.AccessibilityMode>,Constable
- Enclosing class:
- DirectionsRequest
public static enum DirectionsRequest.AccessibilityMode
extends Enum<DirectionsRequest.AccessibilityMode>
The accessibility mode used to calculate a route
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe route should choose the best route, without taking into account if it is accessible or not.The route should always use accessible nodes.The route should never use accessible floor changes (use this to force that routes don't use lifts) -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DirectionsRequest.AccessibilityMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CHOOSE_SHORTEST
The route should choose the best route, without taking into account if it is accessible or not. This option is the default so you don't have to do anything in order to use it -
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)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-