RouteTrackingEngine
public protocol RouteTrackingEngine : ManageableEngine
Responsible for detecting whether the Routes are being followed or deviated from.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Determines the
RouteTrackingStateof the trackedRoute.Declaration
Swift
func obtainTrackingStates(navigationSnapshot: NavigationSnapshot) throws -> [RouteTrackingState]Parameters
navigationSnapshotThe
NavigationSnapshotused to determine if theRouteare being followed or deviated from.Return Value
A list of
RouteTrackingStates for tracked routes.
RouteTrackingEngine Protocol Reference