25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSLoadableBase.h>
27 #import <ArcGIS/AGSCancelable.h>
85 #pragma mark initializers
95 -(instancetype)initWithFileURL:(NSURL *)fileURL;
104 -(instancetype)initWithName:(NSString *)name;
114 +(instancetype)mobileMapPackageWithFileURL:(NSURL *)fileURL;
124 +(instancetype)mobileMapPackageWithName:(NSString *)name;
127 #pragma mark properties
170 @property (nonatomic, copy, readonly) NSArray<AGSMap*> *
maps;
175 @property (nonatomic, strong, readonly) NSURL *
fileURL;
196 @property (nonatomic, copy, readonly) NSString *
version;
252 +(id<
AGSCancelable>)unpackMobileMapPackageAtFileURL:(NSURL *)fileURL
253 outputDirectory:(NSURL*)outputDirectory
254 completion:(
void(^)(NSError * __nullable error))completion;
279 +(id<
AGSCancelable>)checkDirectReadSupportForMobileMapPackageAtFileURL:(NSURL*)fileURL
280 completion:(
void(^)(BOOL isDirectReadSupported, NSError * __nullable error))completion ;
Definition: AGSMobileMapPackage.h:258
Expiration details, that indicate whether a given package is out of date.
Definition: AGSExpiration.h:50
Object representing a unit of content.
Definition: AGSItem.h:43
A base class for loadables.
Definition: AGSLoadableBase.h:45
A task to geocode and reverse-geocode addresses and places.
Definition: AGSLocatorTask.h:51
A map containing 2D geographic content.
Definition: AGSMap.h:61
A mobile map package.
Definition: AGSMobileMapPackage.h:83
NSURL * fileURL
Definition: AGSMobileMapPackage.h:175
AGSExpiration * expiration
Definition: AGSMobileMapPackage.h:220
AGSLocatorTask * locatorTask
Definition: AGSMobileMapPackage.h:157
NSArray< AGSMap * > * maps
Definition: AGSMobileMapPackage.h:170
NSString * version
Definition: AGSMobileMapPackage.h:196
AGSItem * item
Definition: AGSMobileMapPackage.h:146
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38