public static abstract @interface
RoutingOptions.RoutingStrategy
implements
Annotation
The routing strategy specifies how routes are ranked, which affects the route that is chosen
initially, and during re-routing. The default is DEFAULT_BEST
.
Constant Summary
int | DEFAULT_BEST | Ranks routes by NavSDK's default cost model. |
int | SHORTER | Ranks routes by distance, shortest first. |
int | TARGET_DISTANCE | Ranks routes based on absolute delta to each distance provided by RoutingOptions.targetDistancesMeters(List . |
Inherited Method Summary
Constants
public static final int DEFAULT_BEST
Ranks routes by NavSDK's default cost model. This is the default routing strategy for navigating.
Constant Value:
0
public static final int SHORTER
Ranks routes by distance, shortest first.
Constant Value:
1
public static final int TARGET_DISTANCE
Ranks routes based on absolute delta to each distance provided by RoutingOptions.targetDistancesMeters(List
.
Constant Value:
2