Companion

object Companion

Properties

Link copied to clipboard

Replan proposals are applied automatically if they are considered better. com.tomtom.sdk.navigation.replanning.RouteProposalSelector is in charge of determining whether a route proposal is considered better than the active route or not.

Link copied to clipboard

When the better route is found it is added to the navigation session using the com.tomtom.sdk.navigation.RouteAddedListener with the com.tomtom.sdk.navigation.RouteAddedReason.BetterRouteProposed reason. It's up to the integrator to decide whether proposed route should be selected as active with com.tomtom.sdk.navigation.TomTomNavigation.selectActiveRoute or ignored.

Link copied to clipboard

Proposals, which are triggered because the active route is considered unreachable, 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 selected as active with com.tomtom.sdk.navigation.TomTomNavigation.selectActiveRoute or ignored.