onRouteDeviation abstract method

void onRouteDeviation(
  1. RouteDeviation routeDeviation
)

Called whenever route deviation has been observed.

It contains the information that can be used to decide whether to request a re-route calculation from the routing engine.

  • routeDeviation The route deviation observed.

Implementation

void onRouteDeviation(RouteDeviation routeDeviation);