MBNNLineAttributes.h 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxNavigationNative/MBNNFormOfWay.h>
  4. #import <MapboxNavigationNative/MBNNOpenLRFunctionalRoadClass.h>
  5. /**
  6. * Line attributes are used for ClosedLineLocationReference to define attributes
  7. * of the interval between the last point and the first one as they need to be
  8. * connected.
  9. */
  10. NS_SWIFT_NAME(LineAttributes)
  11. __attribute__((visibility ("default")))
  12. @interface MBNNLineAttributes : NSObject
  13. // This class provides custom init which should be called
  14. - (nonnull instancetype)init NS_UNAVAILABLE;
  15. // This class provides custom init which should be called
  16. + (nonnull instancetype)new NS_UNAVAILABLE;
  17. - (nonnull instancetype)initWithFunctionalRoadClass:(MBNNOpenLRFunctionalRoadClass)functionalRoadClass
  18. formOfWay:(MBNNFormOfWay)formOfWay
  19. bearing:(int32_t)bearing;
  20. @property (nonatomic, readonly) MBNNOpenLRFunctionalRoadClass functionalRoadClass;
  21. @property (nonatomic, readonly) MBNNFormOfWay formOfWay;
  22. /** Bearing in degrees, lies in [0, 360) */
  23. @property (nonatomic, readonly) int32_t bearing;
  24. @end