MBNNSpeedLimitInfo.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxNavigationNative/MBNNSpeedLimitType.h>
  4. #import <MapboxNavigationNative/MBNNSpeedLimitUnit.h>
  5. @class MBNNSpeedLimitRestriction;
  6. NS_SWIFT_NAME(SpeedLimitInfo)
  7. __attribute__((visibility ("default")))
  8. @interface MBNNSpeedLimitInfo : NSObject
  9. // This class provides custom init which should be called
  10. - (nonnull instancetype)init NS_UNAVAILABLE;
  11. // This class provides custom init which should be called
  12. + (nonnull instancetype)new NS_UNAVAILABLE;
  13. - (nonnull instancetype)initWithValue:(uint8_t)value
  14. unit:(MBNNSpeedLimitUnit)unit
  15. type:(MBNNSpeedLimitType)type
  16. restriction:(nonnull MBNNSpeedLimitRestriction *)restriction;
  17. @property (nonatomic, readonly) uint8_t value;
  18. @property (nonatomic, readonly) MBNNSpeedLimitUnit unit;
  19. @property (nonatomic, readonly) MBNNSpeedLimitType type;
  20. @property (nonatomic, readonly, nonnull) MBNNSpeedLimitRestriction *restriction;
  21. - (BOOL)isEqualToSpeedLimitInfo:(nonnull MBNNSpeedLimitInfo *)other;
  22. @end