BetterProposalAcceptanceMode
public enum BetterProposalAcceptanceMode
Specifies how to handle better route proposals.
-
Replan proposals are applied automatically if they are considered better.
RouteProposalSelector
is in charge of determining whether a route proposal is considered better than the active route or not.Declaration
Swift
case automatic
-
Obtained routes are proposed using
NavigationRouteAddObserver
.Declaration
Swift
case manual
-
Proposals triggered because the active route is blocked are accepted automatically. A route is considered unreachable if it contains a blockage or, in the case of EV navigation, there is a significant risk of running out of battery charge. For all other proposals, the integrator can decide whether the proposed route should be applied with
Navigation.selectActiveRoute(routeId:)
or ignored.Declaration
Swift
case unreachableOnly