TripActiveRouteDelegate

public protocol TripActiveRouteDelegate : AnyObject

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Notifies the delegate that setting new active Route process for a Trip has been finished successfully, provides new active route’s id .

    Declaration

    Swift

    func activeRouteSet(with id: UUID)
  • Notifies the delegate that the process of setting new active route has been failed, provides error info.

    Declaration

    Swift

    func activeRouteSetFailed(with error: TripActiveRouteError)