RouteTrackingEngine
public protocol RouteTrackingEngine : ManageableEngine
The RouteTrackingEngine protocol provides functionality to determine if the driver is tracking the routes.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Check if routes in the snapshot are being followed.
Declaration
Swift
func obtainTrackedRoutes(navigationSnapshot: NavigationSnapshot) throws -> [UUID]
Parameters
navigationSnapshot
The
NavigationSnapshot
that contains the routes to be checked.Return Value
A list of route IDs that are being followed.