NavigationController
Responsible for interacting with and customizing a navigation.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Adds an OnDestinationReachedListener which will inform about reaching destination the ArrivalDetectionEngine successfully detects arrival at the destination.
Adds an OnGuidanceUpdateListener which will inform about new Guidance each time a location change occurs and the GuidanceEngine successfully generates it.
Adds an OnHorizonUpdatedListener which will inform about new horizon snaphot each time a location change occurs and the HorizonEngine successfully updated it.
Adds an OnLaneGuidanceUpdateListener which will report new LaneGuidance every time a location change occurs and the GuidanceEngine successfully generates it.
Adds an OnLocationContextUpdateListener which will inform about new LocationContext each time a location change occurs and the LocationContextProviderEngine successfully provides it.
Adds an OnLocationMatchedListener which will inform about new MatchedLocation each time a location change occurs and the MapMatchingEngine successfully matched it.
Adds an OnLocationPredictionsGeneratedListener which will inform about new predictions.
Adds an OnNavigationErrorListener which will inform about errors that occurred during navigating.
Adds an OnNavigationStartedListener which will inform about successful navigation start.
Adds an OnProgressUpdateListener which will inform about new progress along the route each time a location change occurs and the RouteProgressEngine successfully calculates it.
Adds an OnReplannedRouteProposedListener which will inform about new ReplannedRoute. Its Route can either be used in update or discarded. Listener will only be triggered if ContinuousReplanningMode is set to ContinuousReplanningMode.Manual or ContinuousReplanningMode.UnreachableOnly in NavigationConfiguration.
Adds an OnRouteDeviationListener which will inform about getting off the route when the RouteTrackingEngine successfully detects it.
Adds an OnRoutesChangedListener which will inform about any change to the set of routes in the navigation session.
Adds an OnRouteUpdatedListener which will inform about successful update of the Route.
Adds an OnWaypointVisitedListener which will inform about reaching waypoints when the ArrivalDetectionEngine successfully detects arrival at a waypoint.
Removes previously registered OnDestinationReachedListener.
Removes previously registered OnGuidanceUpdateListener.
Removes previously registered OnHorizonUpdatedListener.
Removes previously registered OnLaneGuidanceUpdateListener.
Removes previously registered OnLocationContextUpdateListener.
Removes previously registered OnLocationMatchedListener.
Removes previously registered OnLocationPredictionsGeneratedListener.
Removes previously registered OnNavigationErrorListener.
Removes previously registered OnNavigationStartedListener.
Removes previously registered OnProgressUpdateListener.
Removes previously registered OnReplannedRouteProposedListener.
Removes previously registered OnRouteDeviationListener.
Removes previously registered OnRoutesChangedListener.
Removes previously registered OnRouteUpdatedListener.
Removes previously registered OnWaypointVisitedListener.
Starts navigation without a Route. In this case navigation will just provide a MatchedLocation and LocationContext, therefore navigation will interact only with OnLocationMatchedListener and OnLocationContextUpdateListener.
Starts navigation with provided NavigationOptions. Navigation will go through all steps:
Properties
The current ContinuousReplanningMode.
The current LocationContextProviderEngine.
The current NavigationSnapshot. Can be null when navigation is not yet started or already stopped.