routeDeviationListener property

RouteDeviationListener? 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. Gets the listener that notifies when deviation from the route is observed.

Implementation

RouteDeviationListener? get routeDeviationListener;
void routeDeviationListener=(RouteDeviationListener? value)

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);