Files
MapLibreParticleLab/platform/darwin/src/MGLOfflinePack_Private.h
2019-03-20 21:30:08 +02:00

24 lines
534 B
Objective-C

#import "MGLOfflinePack.h"
#include <mbgl/storage/offline.hpp>
NS_ASSUME_NONNULL_BEGIN
@interface MGLOfflinePack (Private)
@property (nonatomic, nullable) mbgl::OfflineRegion *mbglOfflineRegion;
@property (nonatomic, readwrite) MGLOfflinePackState state;
- (instancetype)initWithMBGLRegion:(mbgl::OfflineRegion *)region;
/**
Invalidates the pack and ensures that no future progress update can ever
revalidate it. This method must be called before the pack is deallocated.
*/
- (void)invalidate;
@end
NS_ASSUME_NONNULL_END