Class CommonRouteOptions
- Last UpdatedJun 10, 2025
- 2 minute read
- java.lang.Object
-
- com.here.sdk.routing.CommonRouteOptions
-
public final class CommonRouteOptions extends java.lang.Object
The options defines the common routing options. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
-
Field Summary
Fields Modifier and Type Field Description AllowOptions
allowOptions
The options explicitly allowed by user for route calculations.AvoidanceOptions
avoidanceOptions
Options to specify restrictions for route calculations.java.util.List<MaxSpeedOnSegment>
maxSpeedOnSegments
Segments with restriction on maximumDynamicSpeedInfo.baseSpeedInMetersPerSecond
.RouteOptions
routeOptions
Specifies the common route calculation options.RouteTextOptions
textOptions
Customize textual content returned from the route calculation, such as localization, format, and unit system.TollOptions
tollOptions
Options to specify how the tolls should be calculated, such as transponders, vehicle category, and emission type.
-
Constructor Summary
Constructors Constructor Description CommonRouteOptions()
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
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.
-
allowOptions
@NonNull public AllowOptions allowOptions
The options explicitly allowed by user for route calculations. By default no options are opt in.
-
tollOptions
@NonNull public TollOptions tollOptions
Options to specify how the tolls should be calculated, such as transponders, vehicle category, and emission type. Note Not used for offline calculations.
-
maxSpeedOnSegments
@NonNull public java.util.List<MaxSpeedOnSegment> maxSpeedOnSegments
Segments with restriction on maximum
DynamicSpeedInfo.baseSpeedInMetersPerSecond
. Note Not used for offline calculations.
-
-