MBXTileStoreObserver_Internal.h 1.2 KB

1234567891011121314151617181920212223242526
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBXExpected<__covariant Value, __covariant Error>;
  4. @class MBXGeometry;
  5. @class MBXTileRegion;
  6. @class MBXTileRegionError;
  7. @class MBXTileRegionLoadProgress;
  8. NS_SWIFT_NAME(TileStoreObserver)
  9. @protocol MBXTileStoreObserver
  10. /** Called whenever the load progress of a TileRegion changes. */
  11. - (void)onRegionLoadProgressForId:(nonnull NSString *)id
  12. progress:(nonnull MBXTileRegionLoadProgress *)progress;
  13. - (void)onRegionLoadFinishedForId:(nonnull NSString *)id
  14. region:(nonnull MBXExpected<MBXTileRegion *, MBXTileRegionError *> *)region;
  15. /** Called when a TileRegion was removed. */
  16. - (void)onRegionRemovedForId:(nonnull NSString *)id;
  17. /** Called when the geometry of a TileRegion was modified. */
  18. - (void)onRegionGeometryChangedForId:(nonnull NSString *)id
  19. geometry:(nonnull MBXGeometry *)geometry;
  20. /** Called when the user-provided metadata associated with a TileRegion was changed. */
  21. - (void)onRegionMetadataChangedForId:(nonnull NSString *)id
  22. value:(nonnull id)value;
  23. @end