routeDeviationListener property
Object to receive notifications about deviations from the route if any occurs.
Route deviation notifications only occurs if a route has been set.
Setting null value to the listener will unset the listener.
It returns null when no listener is set by an user.
Gets the listener that notifies when deviation from the route is observed.
Implementation
RouteDeviationListener? get routeDeviationListener;
Object to receive notifications about deviations from the route if any occurs.
Route deviation notifications only occurs if a route has been set.
Setting null value to the listener will unset the listener.
It returns null when no listener is set by an user.
Sets the listener that notifies when deviation from the route is observed.
Implementation
set routeDeviationListener(RouteDeviationListener? value);