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: Waypoint, on route: Route)

    Parameters

    waypoint

    The Waypoint that is 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: Waypoint, 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.