IsolineRangeType (API Reference)
Package com.here.sdk.routing
Enum Class IsolineRangeType
- All Implemented Interfaces:
Serializable,Comparable<IsolineRangeType>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConsumption range in Wh.Distance range in meters.Time range in seconds. -
Method Summary
Modifier and TypeMethodDescriptionstatic IsolineRangeTypeReturns the enum constant of this class with the specified name.static IsolineRangeType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISTANCE_IN_METERS
Distance range in meters. The corresponding values must be 1000000 at the most. Otherwise, the request will fail.
-
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
Consumption range in Wh. The corresponding values must be 300000 at the most. Otherwise, the request will fail.
-
-
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
-