ArrivalDetectionEngine
public protocol ArrivalDetectionEngine : ManagableEngine
Engine responsible for detecting arrival at the destination.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Performs the arrival at destination check.
Declaration
Swift
func hasArrivedAtDestination(routeNavigationSnapshot: RouteNavigationSnapshot) throws -> DestinationArrivalStatus
Return Value
Arrival check status. True if the driver has arrived at the destination, false otherwise.
-
Performs the arrival at waypoint check.
Declaration
Swift
func hasArrivedAtWaypoint(routeNavigationSnapshot: RouteNavigationSnapshot) throws -> WaypointArrivalStatus
Return Value
Arrival check status. True if the driver has passed a waypoint with a route point id,, false otherwise.