ArcGIS Runtime SDK for iOS: AGSDownloadPreplannedOfflineMapParameters.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSDownloadPreplannedOfflineMapParameters.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  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObject.h>
29 
30 
31 
35 typedef NS_ENUM(NSInteger, AGSPreplannedUpdateMode) {
40 };
41 
43 
51 
52 #pragma mark -
53 #pragma mark initializers
54 
59 -(instancetype)initWithPreplannedMapArea:(AGSPreplannedMapArea *)preplannedMapArea;
60 
65 +(instancetype)preplannedOfflineMapParameters;
66 
72 +(instancetype)preplannedOfflineMapParametersWithPreplannedOfflineMapArea:(AGSPreplannedMapArea *)preplannedMapArea;
73 
74 #pragma mark -
75 #pragma mark properties
76 
84 @property (nonatomic, assign, readwrite) BOOL continueOnErrors;
85 
100 @property (nonatomic, assign, readwrite) BOOL includeBasemap;
101 
105 @property (nullable, nonatomic, strong, readwrite) AGSPreplannedMapArea *preplannedMapArea;
106 
138 @property (nullable, nonatomic, strong, readwrite) NSURL *referenceBasemapDirectory;
139 
148 @property (nonatomic, copy, readwrite) NSString *referenceBasemapFilename;
149 
188 @property (nonatomic, assign, readwrite) AGSPreplannedUpdateMode updateMode;
189 
190 #pragma mark -
191 #pragma mark methods
192 
193 @end
194 
195 
AGSPreplannedUpdateMode
Definition: AGSDownloadPreplannedOfflineMapParameters.h:35
@ AGSPreplannedUpdateModeDownloadScheduledUpdates
Definition: AGSDownloadPreplannedOfflineMapParameters.h:38
@ AGSPreplannedUpdateModeSyncWithFeatureServices
Definition: AGSDownloadPreplannedOfflineMapParameters.h:37
@ AGSPreplannedUpdateModeDownloadScheduledUpdatesAndUploadNewFeatures
Definition: AGSDownloadPreplannedOfflineMapParameters.h:39
@ AGSPreplannedUpdateModeNoUpdates
Definition: AGSDownloadPreplannedOfflineMapParameters.h:36
Parameters used with AGSOfflineMapTask to take a preplanned map area offline.
Definition: AGSDownloadPreplannedOfflineMapParameters.h:51
BOOL includeBasemap
Definition: AGSDownloadPreplannedOfflineMapParameters.h:100
AGSPreplannedUpdateMode updateMode
Definition: AGSDownloadPreplannedOfflineMapParameters.h:188
NSString * referenceBasemapFilename
Definition: AGSDownloadPreplannedOfflineMapParameters.h:148
NSURL * referenceBasemapDirectory
Definition: AGSDownloadPreplannedOfflineMapParameters.h:138
AGSPreplannedMapArea * preplannedMapArea
Definition: AGSDownloadPreplannedOfflineMapParameters.h:105
BOOL continueOnErrors
Definition: AGSDownloadPreplannedOfflineMapParameters.h:84
Definition: AGSObject.h:28
Represents an individual offline map area.
Definition: AGSPreplannedMapArea.h:69