ArcGIS Runtime SDK for iOS: AGSGenerateOfflineMapJob.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSGenerateOfflineMapJob.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 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 AGSMap;
32  //Required for Globals API doc
34 
46 
47 
48 
49 #pragma mark -
50 #pragma mark initializers
51 
52 
53 
54 #pragma mark -
55 #pragma mark properties
56 
60 @property (nullable, nonatomic, strong, readonly) NSURL *downloadDirectory;
61 
65 @property (nullable, nonatomic, strong, readonly) AGSGenerateOfflineMapResult *result;
66 
70 @property (nullable, nonatomic, strong, readonly) AGSMap *onlineMap;
71 
75 @property (nullable, nonatomic, strong, readonly) AGSGenerateOfflineMapParameters *parameters;
76 
80 @property (nullable, nonatomic, strong, readonly) AGSGenerateOfflineMapParameterOverrides *parameterOverrides;
81 
82 #pragma mark -
83 #pragma mark methods
84 
90 -(void)startWithStatusHandler:(nullable void(^)(AGSJobStatus status))statusHandler
91  completion:(void(^)(AGSGenerateOfflineMapResult * __nullable result, NSError * __nullable error))completion;
92 @end
93 
94 
95 
96 
AGSJobStatus
Definition: AGSJob.h:52
A job to take a map offline.
Definition: AGSGenerateOfflineMapJob.h:46
NSURL * downloadDirectory
Definition: AGSGenerateOfflineMapJob.h:60
AGSGenerateOfflineMapParameters * parameters
Definition: AGSGenerateOfflineMapJob.h:75
AGSGenerateOfflineMapResult * result
Definition: AGSGenerateOfflineMapJob.h:65
AGSMap * onlineMap
Definition: AGSGenerateOfflineMapJob.h:70
AGSGenerateOfflineMapParameterOverrides * parameterOverrides
Definition: AGSGenerateOfflineMapJob.h:80
Gives access to the individual parameters objects that will generate the various geodatabase,...
Definition: AGSGenerateOfflineMapParameterOverrides.h:44
Parameters used with a AGSOfflineMapTask object to take a map offline.
Definition: AGSGenerateOfflineMapParameters.h:73
Results of taking a map offline.
Definition: AGSGenerateOfflineMapResult.h:43
A long running job on a remote server.
Definition: AGSJob.h:72
AGSJobStatus status
Definition: AGSJob.h:105
NSError * error
Definition: AGSJob.h:85
A map containing 2D geographic content.
Definition: AGSMap.h:68