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