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 RouteTrackingEngine determines whether the driver is tracking the route by monitoring data in the NavigationSnapshot.

    Declaration

    Swift

    public static func create()
        -> RouteTrackingEngine

    Return Value

    • An instance of RouteTrackingEngine .