Navigator.ReroutingListener

  • The Navigator.ReroutingListener interface defines methods that are triggered when a route change is needed due to the vehicle deviating from the suggested path.

  • The primary method, onReroutingRequestedByOffRoute(), is called specifically when the vehicle goes off the planned route, signaling a need for recalculation.

public static interface Navigator.ReroutingListener

Defines signature for methods called when rerouting is requested in response to the vehicle going off the suggested route.

Public Method Summary

abstract void
onReroutingRequestedByOffRoute()
Called when a route change is requested in response to vehicle going off the suggested route.

Public Methods

public abstract void onReroutingRequestedByOffRoute ()

Called when a route change is requested in response to vehicle going off the suggested route.