MBNNRefreshRouteResult.h 949 B

12345678910111213141516171819202122232425262728
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNRouteAlternative;
  4. @protocol MBNNRouteInterface;
  5. NS_SWIFT_NAME(RefreshRouteResult)
  6. __attribute__((visibility ("default")))
  7. @interface MBNNRefreshRouteResult : NSObject
  8. // This class provides custom init which should be called
  9. - (nonnull instancetype)init NS_UNAVAILABLE;
  10. // This class provides custom init which should be called
  11. + (nonnull instancetype)new NS_UNAVAILABLE;
  12. - (nonnull instancetype)initWithRoute:(nonnull id<MBNNRouteInterface>)route
  13. alternatives:(nonnull NSArray<MBNNRouteAlternative *> *)alternatives;
  14. /** Updated route. */
  15. @property (nonatomic, readonly, nonnull) id<MBNNRouteInterface> route;
  16. /** Alternative routes with recalculated `duration` info according to the new annotations. */
  17. @property (nonatomic, readonly, nonnull, copy) NSArray<MBNNRouteAlternative *> *alternatives;
  18. @end