MBNNUpcomingRouteAlert.h 925 B

123456789101112131415161718192021222324252627282930
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNRoadObject;
  4. NS_SWIFT_NAME(UpcomingRouteAlert)
  5. __attribute__((visibility ("default")))
  6. @interface MBNNUpcomingRouteAlert : 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)initWithRoadObject:(nonnull MBNNRoadObject *)roadObject
  12. distanceToStart:(double)distanceToStart;
  13. /** road object which describes upcoming route alert */
  14. @property (nonatomic, readonly, nonnull) MBNNRoadObject *roadObject;
  15. /**
  16. * distance from current position to alert (m),
  17. * can be negative if it is a spanned alert and we are somewhere in the middle
  18. */
  19. @property (nonatomic, readonly) double distanceToStart;
  20. @end