TomTomArrivalDetectionEngine

public class TomTomArrivalDetectionEngine : ArrivalDetectionEngine

TomTomArrivalDetectionEngine checks if the driver has reached the destination or waypoint.

Important

This is a Public Preview API. It may be changed or removed at any time.

Public

  • Checks if the driver has reached the destination.

    Declaration

    Swift

    public func hasArrivedAtDestination(navigationSnapshot: NavigationSnapshot) throws -> DestinationArrivalStatus

    Parameters

    navigationSnapshot

    A snapshot of the current route navigation session.

  • Checks the arrival state of the next waypoint based on the NavigationSnapshot.

    Declaration

    Swift

    public func hasArrivedAtWaypoint(waypoint: Waypoint, navigationSnapshot: NavigationSnapshot) throws -> WaypointArrivalStatus

    Parameters

    waypoint

    The Waypoint of arrival.

    navigationSnapshot

    A snapshot of the current route navigation session.

  • Declaration

    Swift

    public func reset()