Enum DirectionsRequest.AccessibilityMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant 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)
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • 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_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 Detail

      • values

        public static DirectionsRequest.AccessibilityMode[] values()
        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​(java.lang.String name)
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null