Navigation Listener
Navigation listener interface.
Properties
This will be used by the engine when a voice prompt needs to be played to check if it is allowed to send a NavigationSound notification or not. If this is false then the engine will not send the onNavigationSound notification but it will recheck if possible to play it periodically until it is allowed or it is no more valid.
Functions
True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object
Better route was detected. The previous better route ( if exist ) must be considered automatically invalidated This notification is sent when a route is calculated with RoutePreferences.avoidTraffic = true and the engine detects a better route.
Previously detected better route became invalid. This notification is sent when current position is no more on the previous calculated better route
Better route rejected with given error code ( debug purposes )
Notification received when the destination have been reached. This is the moment when the navigation request finished with success.
Signal that the navigation request finished with error.
Notification called when the navigation instruction is updated. This method is called periodically, usually at 1 second, to update the navigation information for the UI.
This notification is provided by the navigation/simulation when a sound needs to be played.
Navigation started notification This method is called when first valid position for navigation arrives
Notifies new value of ENavigationStatus.
Notification received when route was updated.
Notification received when a way point on the route has been reached. This notification is not sent when the destination of the route has been reached. That is notified through onDestinationReached notification.