MBNNLocationReference.h 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNCircleLocationReference;
  4. @class MBNNClosedLineLocationReference;
  5. @class MBNNGeoCoordinateLocationReference;
  6. @class MBNNGridLocationReference;
  7. @class MBNNLineLocationReference;
  8. @class MBNNPOIWithAccessPointLocationReference;
  9. @class MBNNPointAlongLineLocationReference;
  10. @class MBNNPolygonLocationReference;
  11. @class MBNNRectangleLocationReference;
  12. // NOLINTNEXTLINE(modernize-use-using)
  13. typedef NS_ENUM(NSInteger, MBNNLocationReferenceType)
  14. {
  15. MBNNLocationReferenceTypeLineLocationReference,
  16. MBNNLocationReferenceTypePointAlongLineLocationReference,
  17. MBNNLocationReferenceTypePOIWithAccessPointLocationReference,
  18. MBNNLocationReferenceTypeCircleLocationReference,
  19. MBNNLocationReferenceTypeRectangleLocationReference,
  20. MBNNLocationReferenceTypeGridLocationReference,
  21. MBNNLocationReferenceTypePolygonLocationReference,
  22. MBNNLocationReferenceTypeClosedLineLocationReference,
  23. MBNNLocationReferenceTypeGeoCoordinateLocationReference
  24. } NS_SWIFT_NAME(LocationReferenceType);
  25. NS_SWIFT_NAME(LocationReference)
  26. __attribute__((visibility ("default")))
  27. @interface MBNNLocationReference : NSObject
  28. - (nonnull instancetype)initWithValue:(nonnull id)value __attribute__((deprecated("Please use: '+from{TypeName}:' instead.")));
  29. + (nonnull instancetype)fromLineLocationReference:(nonnull MBNNLineLocationReference *)value;
  30. + (nonnull instancetype)fromPointAlongLineLocationReference:(nonnull MBNNPointAlongLineLocationReference *)value;
  31. + (nonnull instancetype)fromPOIWithAccessPointLocationReference:(nonnull MBNNPOIWithAccessPointLocationReference *)value;
  32. + (nonnull instancetype)fromCircleLocationReference:(nonnull MBNNCircleLocationReference *)value;
  33. + (nonnull instancetype)fromRectangleLocationReference:(nonnull MBNNRectangleLocationReference *)value;
  34. + (nonnull instancetype)fromGridLocationReference:(nonnull MBNNGridLocationReference *)value;
  35. + (nonnull instancetype)fromPolygonLocationReference:(nonnull MBNNPolygonLocationReference *)value;
  36. + (nonnull instancetype)fromClosedLineLocationReference:(nonnull MBNNClosedLineLocationReference *)value;
  37. + (nonnull instancetype)fromGeoCoordinateLocationReference:(nonnull MBNNGeoCoordinateLocationReference *)value;
  38. - (BOOL)isLineLocationReference;
  39. - (BOOL)isPointAlongLineLocationReference;
  40. - (BOOL)isPOIWithAccessPointLocationReference;
  41. - (BOOL)isCircleLocationReference;
  42. - (BOOL)isRectangleLocationReference;
  43. - (BOOL)isGridLocationReference;
  44. - (BOOL)isPolygonLocationReference;
  45. - (BOOL)isClosedLineLocationReference;
  46. - (BOOL)isGeoCoordinateLocationReference;
  47. - (nonnull MBNNLineLocationReference *)getLineLocationReference __attribute((ns_returns_retained));
  48. - (nonnull MBNNPointAlongLineLocationReference *)getPointAlongLineLocationReference __attribute((ns_returns_retained));
  49. - (nonnull MBNNPOIWithAccessPointLocationReference *)getPOIWithAccessPointLocationReference __attribute((ns_returns_retained));
  50. - (nonnull MBNNCircleLocationReference *)getCircleLocationReference __attribute((ns_returns_retained));
  51. - (nonnull MBNNRectangleLocationReference *)getRectangleLocationReference __attribute((ns_returns_retained));
  52. - (nonnull MBNNGridLocationReference *)getGridLocationReference __attribute((ns_returns_retained));
  53. - (nonnull MBNNPolygonLocationReference *)getPolygonLocationReference __attribute((ns_returns_retained));
  54. - (nonnull MBNNClosedLineLocationReference *)getClosedLineLocationReference __attribute((ns_returns_retained));
  55. - (nonnull MBNNGeoCoordinateLocationReference *)getGeoCoordinateLocationReference __attribute((ns_returns_retained));
  56. @property (nonatomic, nonnull) id value;
  57. @property (nonatomic, readonly) MBNNLocationReferenceType type;
  58. @end