MBNNSpeedLimitCondition.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxNavigationNative/MBNNVehicleType.h>
  4. #import <MapboxNavigationNative/MBNNWeather.h>
  5. /**
  6. * Describes current conditions to be applied to find better siutable speed limit
  7. * Current time and locale is taken from the system
  8. */
  9. NS_SWIFT_NAME(SpeedLimitCondition)
  10. __attribute__((visibility ("default")))
  11. @interface MBNNSpeedLimitCondition : NSObject
  12. // This class provides custom init which should be called
  13. - (nonnull instancetype)init NS_UNAVAILABLE;
  14. // This class provides custom init which should be called
  15. + (nonnull instancetype)new NS_UNAVAILABLE;
  16. - (nonnull instancetype)initWithWeather:(nonnull NSArray<NSNumber *> *)weather
  17. lane:(uint8_t)lane
  18. vehicleType:(MBNNVehicleType)vehicleType;
  19. /** Current weather */
  20. @property (nonatomic, readonly, nonnull, copy) NSArray<NSNumber *> *weather;
  21. /** Lane number if known or 0. For right-hand traffic 1 is the very right lane and so on */
  22. @property (nonatomic, readonly) uint8_t lane;
  23. /** Pass vehicle type here */
  24. @property (nonatomic, readonly) MBNNVehicleType vehicleType;
  25. - (BOOL)isEqualToSpeedLimitCondition:(nonnull MBNNSpeedLimitCondition *)other;
  26. @end