OffRoadRouteTrackingEngineFactory
public enum OffRoadRouteTrackingEngineFactory
Factory for creating an off-road RouteTrackingEngine instance.
The RouteTrackingEngine monitors if the driver is following the planned route or deviating from it and informs listeners of the NavigationRouteTrackingStateUpdateObserver.
The engine uses data from the NavigationSnapshot to determine whether the driver is on track. Then it returns a RouteTrackingState with information about whether the driver is following the route.
To create a default off-road Navigation, check the OffRoadTomTomNavigationFactory class.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates an instance of
RouteTrackingEngine.The
RouteTrackingEnginedetermines whether the driver is tracking the route by monitoring data in theNavigationSnapshot.Declaration
Swift
public static func create() -> RouteTrackingEngineReturn Value
- An instance of
RouteTrackingEngine.
- An instance of
TomTom SDK for iOS (0.53.1)
OffRoadRouteTrackingEngineFactory