MBNNSetRoutesParams.h 1.0 KB

123456789101112131415161718192021222324252627
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @protocol MBNNRouteInterface;
  4. NS_SWIFT_NAME(SetRoutesParams)
  5. __attribute__((visibility ("default")))
  6. @interface MBNNSetRoutesParams : NSObject
  7. // This class provides custom init which should be called
  8. - (nonnull instancetype)init NS_UNAVAILABLE;
  9. // This class provides custom init which should be called
  10. + (nonnull instancetype)new NS_UNAVAILABLE;
  11. - (nonnull instancetype)initWithPrimaryRoute:(nonnull id<MBNNRouteInterface>)primaryRoute
  12. legIndex:(uint32_t)legIndex
  13. alternativeRoutes:(nonnull NSArray<id<MBNNRouteInterface>> *)alternativeRoutes;
  14. @property (nonatomic, readonly, nonnull) id<MBNNRouteInterface> primaryRoute;
  15. /** Leg index of primary route. Can be >0 in the case of switch from alternative route back to main route. */
  16. @property (nonatomic, readonly) uint32_t legIndex;
  17. @property (nonatomic, readonly, nonnull, copy) NSArray<id<MBNNRouteInterface>> *alternativeRoutes;
  18. @end