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 RouteTrackingState of the tracked Route.

    Declaration

    Swift

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

    Parameters

    navigationSnapshot

    The NavigationSnapshot used to determine if the Route are being followed or deviated from.

    Return Value

    A list of RouteTrackingStates for tracked routes.