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.-
Called when a waypoint has been reached. Marks the start of the waypoint arrival experience.
Declaration
Swift
func didReachWaypoint(waypoint: RouteStop, on route: Route)
Parameters
waypoint
The waypoint that has been reached.
route
The current route.
-
Reports that the driver visited a waypoint. It marks the end of the waypoint arrival experience.
Declaration
Swift
func didVisitWaypoint(waypoint: RouteStop, on route: Route)
Parameters
waypoint
The waypoint where the driver arrived.
route
The current route.
-
Reports that the driver has arrived at the destination.
Declaration
Swift
func didArriveAtDestinationOn(route: Route)
Parameters
route
The current route.