NavigationRouteUpdateObserver

public protocol NavigationRouteUpdateObserver : Observer

An observer that receives navigation route updated events.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Reports a route update together with an update reason. The ID and geometry of the updated route is unchanged.

    Declaration

    Swift

    func didUpdateRoute(route: Route, reason: RouteUpdatedReason)

    Parameters

    route

    The updated route.

    reason

    The reason for updating the route.