ArcGIS Runtime SDK for iOS: AGSDownloadPreplannedOfflineMapJob.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSDownloadPreplannedOfflineMapJob.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSJob.h>
27 
29 @class AGSOfflineMapTask;
30 @class AGSMap;
33  //Required for Globals API doc
35 
49 
50 
51 
52 #pragma mark -
53 #pragma mark initializers
54 
55 
56 
57 #pragma mark -
58 #pragma mark properties
59 
63 @property (nullable, nonatomic, strong, readonly) NSURL *downloadDirectory;
64 
68 @property (nonatomic, assign, readonly) BOOL excludeBasemap;
69 
73 @property (nonatomic, strong, readonly) AGSMap *onlineMap;
74 
78 @property (nullable, nonatomic, strong, readonly) AGSDownloadPreplannedOfflineMapParameters *parameters;
79 
83 @property (nonatomic, strong, readonly) AGSPreplannedMapArea *preplannedMapArea;
84 
88 @property (nullable, nonatomic, strong, readonly) AGSDownloadPreplannedOfflineMapResult *result;
89 
90 #pragma mark -
91 #pragma mark methods
92 
98 -(void)startWithStatusHandler:(nullable void(^)(AGSJobStatus status))statusHandler
99  completion:(void(^)(AGSDownloadPreplannedOfflineMapResult * __nullable result, NSError * __nullable error))completion;
100 
101 
102 
103 @end
AGSJobStatus
Definition: AGSJob.h:54
A job to download an offline map from an online map.
Definition: AGSDownloadPreplannedOfflineMapJob.h:49
AGSDownloadPreplannedOfflineMapResult * result
Definition: AGSDownloadPreplannedOfflineMapJob.h:88
AGSMap * onlineMap
Definition: AGSDownloadPreplannedOfflineMapJob.h:73
AGSPreplannedMapArea * preplannedMapArea
Definition: AGSDownloadPreplannedOfflineMapJob.h:83
AGSDownloadPreplannedOfflineMapParameters * parameters
Definition: AGSDownloadPreplannedOfflineMapJob.h:78
NSURL * downloadDirectory
Definition: AGSDownloadPreplannedOfflineMapJob.h:63
BOOL excludeBasemap
Definition: AGSDownloadPreplannedOfflineMapJob.h:68
Parameters used with AGSOfflineMapTask to take a preplanned map area offline.
Definition: AGSDownloadPreplannedOfflineMapParameters.h:51
Results of taking a map offline using preplanned map areas.
Definition: AGSDownloadPreplannedOfflineMapResult.h:43
A long running job on a remote server.
Definition: AGSJob.h:75
AGSJobStatus status
Definition: AGSJob.h:112
NSError * error
Definition: AGSJob.h:88
A map containing 2D geographic content.
Definition: AGSMap.h:61
A task to take a map offline.
Definition: AGSOfflineMapTask.h:69
Represents an individual offline map area.
Definition: AGSPreplannedMapArea.h:69