Enum Class IsolineRangeType

java.lang.Object
java.lang.Enum<IsolineRangeType>
com.here.sdk.routing.IsolineRangeType
All Implemented Interfaces:
Serializable, Comparable<IsolineRangeType>, Constable

public enum IsolineRangeType extends Enum<IsolineRangeType>

Specifies the type of one or more range values to be included in the isoline. This value defines the restriction that is used to calculate the reachable area.

  • Enum Constant Details

    • DISTANCE_IN_METERS

      public static final IsolineRangeType DISTANCE_IN_METERS

      Distance range in meters. The corresponding values must be 1000000 at the most. Otherwise, the request will fail.

    • TIME_IN_SECONDS

      public static final IsolineRangeType TIME_IN_SECONDS

      Time range in seconds. The corresponding values must be 32400 at the most. Otherwise, the request will fail.

    • CONSUMPTION_IN_WATT_HOURS

      public static final IsolineRangeType CONSUMPTION_IN_WATT_HOURS

      Consumption range in Wh. The corresponding values must be 300000 at the most. Otherwise, the request will fail.

  • Method Details

    • values

      public static IsolineRangeType[] 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 IsolineRangeType 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