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
  • Enum Constant Details

    • CHOOSE_SHORTEST

      public static final DirectionsRequest.AccessibilityMode 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

      public static final DirectionsRequest.AccessibilityMode ONLY_ACCESSIBLE
      The route should always use accessible nodes.
    • ONLY_NOT_ACCESSIBLE_FLOOR_CHANGES

      public static final DirectionsRequest.AccessibilityMode 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

      public static DirectionsRequest.AccessibilityMode[] 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

      public static DirectionsRequest.AccessibilityMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null