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 -> DestinationArrivalStatus
Parameters
navigationSnapshot
a snapshot of the current route navigation session
-
Checks if the driver has reached a waypoint.
Declaration
Swift
public func hasArrivedAtWaypoint(navigationSnapshot: NavigationSnapshot) throws -> WaypointArrivalStatus
Parameters
navigationSnapshot
a snapshot of the current route navigation session
-
Declaration
Swift
public func reset()