NavigationRouteObserver
public protocol NavigationRouteObserver : Observer
An observer that receives navigation route events.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Reports that the driver has deviated from the current route.
Declaration
Swift
func didDeviateFromRoute(currentRoute: Route, location: GeoLocation)Parameters
currentRouteThe current route.
locationThe location at which the driver has deviated from the route.
TomTom SDK for iOS (0.39.0)
NavigationRouteObserver