Package es.situm.sdk.directions
Enum DirectionsRequest.AccessibilityMode
- java.lang.Object
-
- java.lang.Enum<DirectionsRequest.AccessibilityMode>
-
- es.situm.sdk.directions.DirectionsRequest.AccessibilityMode
-
- All Implemented Interfaces:
Serializable
,Comparable<DirectionsRequest.AccessibilityMode>
- Enclosing class:
- DirectionsRequest
@Deprecated public static enum DirectionsRequest.AccessibilityMode extends Enum<DirectionsRequest.AccessibilityMode>
Deprecated.The accessibility mode used to calculate a route
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHOOSE_SHORTEST
Deprecated.The route should choose the best route, without taking into account if it is accessible or not.ONLY_ACCESSIBLE
Deprecated.To use this option with the new interface you have to create aDirectionsModifier
and add aTagModifier
prioritizingDirectionsModifier.LEGACY_OPTIONS.ACCESSIBLE
ONLY_NOT_ACCESSIBLE_FLOOR_CHANGES
Deprecated.To use this option with the new interface you have to create aDirectionsModifier
and add aTagModifier
prioritizingDirectionsModifier.LEGACY_OPTIONS.NOT_ACCESSIBLE
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DirectionsRequest.AccessibilityMode
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static DirectionsRequest.AccessibilityMode[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHOOSE_SHORTEST
public static final DirectionsRequest.AccessibilityMode CHOOSE_SHORTEST
Deprecated.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
public static final DirectionsRequest.AccessibilityMode ONLY_ACCESSIBLE
Deprecated.To use this option with the new interface you have to create aDirectionsModifier
and add aTagModifier
prioritizingDirectionsModifier.LEGACY_OPTIONS.ACCESSIBLE
The route should always use accessible nodes.
-
ONLY_NOT_ACCESSIBLE_FLOOR_CHANGES
public static final DirectionsRequest.AccessibilityMode ONLY_NOT_ACCESSIBLE_FLOOR_CHANGES
Deprecated.To use this option with the new interface you have to create aDirectionsModifier
and add aTagModifier
prioritizingDirectionsModifier.LEGACY_OPTIONS.NOT_ACCESSIBLE
The route should never use accessible floor changes (use this to force that routes don't use lifts)
-
-
Method Detail
-
values
public static DirectionsRequest.AccessibilityMode[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DirectionsRequest.AccessibilityMode c : DirectionsRequest.AccessibilityMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DirectionsRequest.AccessibilityMode valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-