Class PedestrianOptions
Class PedestrianOptions
- java.lang.Object
-
- com.here.sdk.routing.PedestrianOptions
-
public final class PedestrianOptions extends java.lang.ObjectAll the options to specify how a pedestrian route should be calculated.
-
-
Field Summary
Fields Modifier and Type Field Description AvoidanceOptionsavoidanceOptionsOptions to specify restrictions for route calculations.RouteOptionsrouteOptionsSpecifies the common route calculation options.RouteTextOptionstextOptionsCustomize textual content returned from the route calculation, such as localization, format, and unit system.doublewalkSpeedInMetersPerSecondSpecifies the speed that will be used by the service as the walking speed for pedestrian routing in meters per second.
-
Constructor Summary
Constructors Constructor Description PedestrianOptions()Creates a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static PedestrianOptionsfromDefaultParameterConfiguration()Returns PedestrianOptions instance with default values used in SDK.inthashCode()
-
-
-
Field Detail
-
routeOptions
@NonNull public RouteOptions routeOptions
Specifies the common route calculation options.
-
textOptions
@NonNull public RouteTextOptions textOptions
Customize textual content returned from the route calculation, such as localization, format, and unit system.
-
avoidanceOptions
@NonNull public AvoidanceOptions avoidanceOptions
Options to specify restrictions for route calculations. By default no restrictions are applied.
-
walkSpeedInMetersPerSecond
public double walkSpeedInMetersPerSecond
Specifies the speed that will be used by the service as the walking speed for pedestrian routing in meters per second. It influences the duration of walking segments along the route. The provided value must be in the range [0.5, 2.0]. When the value is outside this range, an invalid parameter error is raised. Refer to
RoutingErrorfor details. The default speed is 1 meter per second.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
fromDefaultParameterConfiguration
@NonNull public static PedestrianOptions fromDefaultParameterConfiguration()
Returns PedestrianOptions instance with default values used in SDK.
- Returns:
A
PedestrianOptionsinstance with default values used in SDK.
-
-