MBMRenderedQueryGeometry.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBMScreenBox;
  4. @class MBMScreenCoordinate;
  5. // NOLINTNEXTLINE(modernize-use-using)
  6. typedef NS_ENUM(NSInteger, MBMRenderedQueryGeometryType)
  7. {
  8. MBMRenderedQueryGeometryTypeScreenBox,
  9. MBMRenderedQueryGeometryTypeScreenCoordinate,
  10. MBMRenderedQueryGeometryTypeNSArray
  11. } NS_SWIFT_NAME(RenderedQueryGeometryType);
  12. /** Geometry for querying rendered features. */
  13. NS_SWIFT_NAME(RenderedQueryGeometry)
  14. __attribute__((visibility ("default")))
  15. @interface MBMRenderedQueryGeometry : NSObject
  16. - (nonnull instancetype)initWithValue:(nonnull id)value __attribute__((deprecated("Please use: '+from{TypeName}:' instead.")));
  17. + (nonnull instancetype)fromScreenBox:(nonnull MBMScreenBox *)value;
  18. + (nonnull instancetype)fromScreenCoordinate:(nonnull MBMScreenCoordinate *)value;
  19. + (nonnull instancetype)fromNSArray:(nonnull NSArray<MBMScreenCoordinate *> *)value;
  20. - (BOOL)isScreenBox;
  21. - (BOOL)isScreenCoordinate;
  22. - (BOOL)isNSArray;
  23. - (nonnull MBMScreenBox *)getScreenBox __attribute((ns_returns_retained));
  24. - (nonnull MBMScreenCoordinate *)getScreenCoordinate __attribute((ns_returns_retained));
  25. - (nonnull NSArray<MBMScreenCoordinate *> *)getNSArray __attribute((ns_returns_retained));
  26. @property (nonatomic, nonnull) id value;
  27. @property (nonatomic, readonly) MBMRenderedQueryGeometryType type;
  28. @end