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.-
Checks if the driver is following the route.
Declaration
Swift
public func obtainTrackedRoutes(navigationSnapshot: NavigationSnapshot) throws -> [UUID]
Return Value
List with the uuid of the current route if it is being followed. Empty list if it is not followed.
-
Clears the data used by the engine.
Declaration
Swift
public func reset()