NavigationOptionsAddDelegate

public protocol NavigationOptionsAddDelegate : AnyObject

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Notifies the delegate that RoutePlan add process for a NavigationOptions has been finished successfully, provides added RoutePlan.

    Declaration

    Swift

    func routePlanAdded(routePlan: RoutePlan)
  • Notifies the delegate that route plan adding process has been failed, provides error info.

    Declaration

    Swift

    func routePlanAddFailed(with error: Navigation.OptionsError)