24 lines
534 B
Objective-C
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
|