addOnRouteDeviationListener
abstract fun addOnRouteDeviationListener(listener: OnRouteDeviationListener)
Content copied to clipboard
Adds an OnRouteDeviationListener which will inform about getting off the route when the RouteTrackingEngine successfully detects it.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
listener
The listener to be registered.
Throws
if listener is already added.