RouteTrackingEngine
public protocol RouteTrackingEngine : ManageableEngine
Responsible for detecting whether the Route
s are being followed or deviated from.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Determines the
RouteTrackingState
of the trackedRoute
.Declaration
Swift
func obtainTrackingStates(navigationSnapshot: NavigationSnapshot) throws -> RouteTrackingState
Parameters
navigationSnapshot
The
NavigationSnapshot
used to determine if theRoute
is currently followed or deviated from.Return Value
A
RouteTrackingState
object for tracked routes.