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.-
Checks if the driver has reached the destination.
Declaration
Swift
public func hasArrivedAtDestination(navigationSnapshot: NavigationSnapshot) throws -> DestinationArrivalStatusParameters
navigationSnapshotA 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 -> WaypointArrivalStatusParameters
waypointThe
Waypointof arrival.navigationSnapshotA snapshot of the current route navigation session.
-
Declaration
Swift
public func reset()
TomTomArrivalDetectionEngine Class Reference