ArcGIS Runtime SDK for iOS: AGSGenerateOfflineMapParameters.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSGenerateOfflineMapParameters.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 #import <ArcGIS/AGSGeodatabaseTaskTypes.h>
30 #import <ArcGIS/AGSOfflineMapTaskTypes.h>
31 #import <ArcGIS/AGSExportVectorTilesParameters.h>
32 
33 
34 
40 typedef NS_ENUM(NSInteger, AGSDestinationTableRowFilter) {
43 };
44 
48 typedef NS_ENUM(NSInteger, AGSGenerateOfflineMapUpdateMode) {
51 };
52 
56 typedef NS_ENUM(NSInteger, AGSOnlineOnlyServicesOption) {
60 };
61 
62 @class AGSGeometry;
64 
73 
74 #pragma mark -
75 #pragma mark initializers
76 
83 -(instancetype)initWithAreaOfInterest:(AGSGeometry*)areaOfInterest minScale:(double)minScale maxScale:(double)maxScale;
84 
89 +(instancetype)generateOfflineMapParameters;
90 
98 +(instancetype)generateOfflineMapParametersWithAreaOfInterest:(AGSGeometry*)areaOfInterest minScale:(double)minScale maxScale:(double)maxScale;
99 
100 
101 #pragma mark -
102 #pragma mark properties
103 
109 @property (nonatomic, strong, readwrite) AGSGeometry *areaOfInterest;
110 
123 @property (nonatomic, assign, readwrite) double maxScale;
124 
137 @property (nonatomic, assign, readwrite) double minScale;
138 
168 @property (nonatomic, assign, readwrite) AGSOnlineOnlyServicesOption onlineOnlyServicesOption;
169 
174 @property (nullable, nonatomic, strong, readwrite) AGSOfflineMapItemInfo *itemInfo;
175 
199 @property (nonatomic, assign, readwrite) AGSAttachmentSyncDirection attachmentSyncDirection;
200 
208 @property (nonatomic, assign, readwrite) BOOL continueOnErrors;
209 
225 @property (nonatomic, assign, readwrite) BOOL includeBasemap;
226 
236 @property (nonatomic, assign, readwrite, getter=isDefinitionExpressionFilterEnabled) BOOL definitionExpressionFilterEnabled;
237 
263 @property (nonatomic, assign, readwrite) AGSReturnLayerAttachmentOption returnLayerAttachmentOption;
264 
269 @property (nonatomic, assign, readwrite) BOOL returnSchemaOnlyForEditableLayers;
270 
288 @property (nonatomic, assign, readwrite) AGSGenerateOfflineMapUpdateMode updateMode;
289 
303 @property (nonatomic, assign, readwrite) AGSDestinationTableRowFilter destinationTableRowFilter;
304 
337 @property (nonatomic, assign, readwrite) AGSEsriVectorTilesDownloadOption esriVectorTilesDownloadOption;
338 
365 @property (nullable, nonatomic, strong, readwrite) NSURL *referenceBasemapDirectory;
366 
377 @property (nonatomic, copy, readwrite) NSString *referenceBasemapFilename;
378 
379 #pragma mark -
380 #pragma mark methods
381 
382 @end
383 
384 
AGSEsriVectorTilesDownloadOption
Definition: AGSExportVectorTilesParameters.h:52
AGSGenerateOfflineMapUpdateMode
Definition: AGSGenerateOfflineMapParameters.h:48
@ AGSGenerateOfflineMapUpdateModeNoUpdates
Definition: AGSGenerateOfflineMapParameters.h:50
@ AGSGenerateOfflineMapUpdateModeSyncWithFeatureServices
Definition: AGSGenerateOfflineMapParameters.h:49
AGSDestinationTableRowFilter
Definition: AGSGenerateOfflineMapParameters.h:40
@ AGSDestinationTableRowFilterRelatedOnly
Definition: AGSGenerateOfflineMapParameters.h:42
@ AGSDestinationTableRowFilterAll
Definition: AGSGenerateOfflineMapParameters.h:41
AGSOnlineOnlyServicesOption
Definition: AGSGenerateOfflineMapParameters.h:56
@ AGSOnlineOnlyServicesOptionInclude
Definition: AGSGenerateOfflineMapParameters.h:58
@ AGSOnlineOnlyServicesOptionExclude
Definition: AGSGenerateOfflineMapParameters.h:57
@ AGSOnlineOnlyServicesOptionUseAuthoredSettings
Definition: AGSGenerateOfflineMapParameters.h:59
AGSAttachmentSyncDirection
Definition: AGSGeodatabaseTaskTypes.h:35
AGSReturnLayerAttachmentOption
Definition: AGSOfflineMapTaskTypes.h:36
Parameters used with a AGSOfflineMapTask object to take a map offline.
Definition: AGSGenerateOfflineMapParameters.h:73
AGSDestinationTableRowFilter destinationTableRowFilter
Definition: AGSGenerateOfflineMapParameters.h:303
NSString * referenceBasemapFilename
Definition: AGSGenerateOfflineMapParameters.h:377
double maxScale
Definition: AGSGenerateOfflineMapParameters.h:123
BOOL definitionExpressionFilterEnabled
Definition: AGSGenerateOfflineMapParameters.h:236
AGSGenerateOfflineMapUpdateMode updateMode
Definition: AGSGenerateOfflineMapParameters.h:288
AGSGeometry * areaOfInterest
Definition: AGSGenerateOfflineMapParameters.h:109
BOOL returnSchemaOnlyForEditableLayers
Definition: AGSGenerateOfflineMapParameters.h:269
double minScale
Definition: AGSGenerateOfflineMapParameters.h:137
instancetype generateOfflineMapParameters()
AGSEsriVectorTilesDownloadOption esriVectorTilesDownloadOption
Definition: AGSGenerateOfflineMapParameters.h:337
AGSReturnLayerAttachmentOption returnLayerAttachmentOption
Definition: AGSGenerateOfflineMapParameters.h:263
BOOL continueOnErrors
Definition: AGSGenerateOfflineMapParameters.h:208
BOOL includeBasemap
Definition: AGSGenerateOfflineMapParameters.h:225
NSURL * referenceBasemapDirectory
Definition: AGSGenerateOfflineMapParameters.h:365
AGSAttachmentSyncDirection attachmentSyncDirection
Definition: AGSGenerateOfflineMapParameters.h:199
AGSOfflineMapItemInfo * itemInfo
Definition: AGSGenerateOfflineMapParameters.h:174
AGSOnlineOnlyServicesOption onlineOnlyServicesOption
Definition: AGSGenerateOfflineMapParameters.h:168
Base class for all classes that represent geometric shapes.
Definition: AGSGeometry.h:121
Definition: AGSObject.h:28
Metadata about an offline map.
Definition: AGSOfflineMapItemInfo.h:38