MBNNRouteParser.h 983 B

123456789101112131415161718192021222324
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxNavigationNative/MBNNRouterOrigin.h>
  4. @class MBXExpected<__covariant Value, __covariant Error>;
  5. @protocol MBNNRouteInterface;
  6. @protocol MBNNRoutesData;
  7. NS_SWIFT_NAME(RouteParser)
  8. __attribute__((visibility ("default")))
  9. @interface MBNNRouteParser : NSObject
  10. // This class provides custom init which should be called
  11. - (nonnull instancetype)init NS_UNAVAILABLE;
  12. // This class provides custom init which should be called
  13. + (nonnull instancetype)new NS_UNAVAILABLE;
  14. /** Creates an instance of `RoutesData` and calculate `RouteAlternative` metadata for each route in `alternativeRoutes` array. */
  15. + (nonnull id<MBNNRoutesData>)createRoutesDataForPrimaryRoute:(nonnull id<MBNNRouteInterface>)primaryRoute
  16. alternativeRoutes:(nonnull NSArray<id<MBNNRouteInterface>> *)alternativeRoutes __attribute((ns_returns_retained));
  17. @end