NavKitRouteTrackingEngine

public class NavKitRouteTrackingEngine : RouteTrackingEngine

The NavKitRouteTrackingEngine uses the NavKit road network to determine is tracking a route.

Important

This is a Public Preview API. It may be changed or removed at any time.

Public

  • Checks if the driver is following the route.

    Declaration

    Swift

    public func obtainTrackingStates(navigationSnapshot: TomTomSDKNavigationEngines.NavigationSnapshot)
        throws -> [TomTomSDKNavigationEngines.RouteTrackingState]

    Return Value

    List with the RouteTrackingState of the tracked routes.

  • Clears the data used by the engine.

    Declaration

    Swift

    public func reset()