NavigationArrivalObserver
public protocol NavigationArrivalObserver : Observer
An observer to receive navigation arrival events.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Reports that the driver has arrived at the destination.
Declaration
Swift
func didArriveAtDestinationOn(route: Route)
Parameters
route
The current route.
-
Reports that the driver has arrived at a waypoint.
Declaration
Swift
func didArriveAtWaypoint(waypoint: Waypoint, on route: Route)
Parameters
waypoint
The waypoint at which the driver has arrived.
route
The current route.