ArcGIS Runtime SDK for iOS: AGSExportVectorTilesTask.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSExportVectorTilesTask.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/AGSLoadableRemoteResourceBase.h>
27 #import <ArcGIS/AGSAPIKeyResource.h>
28 #import <ArcGIS/AGSCancelable.h>
29 
30 
31 
32 @class AGSPortalItem;
36 @class AGSGeometry;
37  //Required for Globals API doc
39 
66 
67 #pragma mark -
68 #pragma mark initializers
69 
70 
71 
77 -(instancetype)initWithPortalItem:(AGSPortalItem *)portalItem;
78 
92 -(instancetype)initWithURL:(NSURL *)URL;
93 
101 +(instancetype)exportVectorTilesTaskWithPortalItem:(AGSPortalItem *)portalItem;
102 
117 +(instancetype)exportVectorTilesTaskWithURL:(NSURL *)URL;
118 
119 #pragma mark -
120 #pragma mark properties
121 
134 @property (nullable, nonatomic, strong, readonly) NSURL *URL;
135 
141 @property (nonatomic, assign, readonly) BOOL hasStyleResources;
142 
148 @property (nullable, nonatomic, strong, readonly) AGSPortalItem *portalItem;
149 
154 @property (nullable, nonatomic, strong, readonly) AGSVectorTileSourceInfo *vectorTileSourceInfo;
155 
156 #pragma mark -
157 #pragma mark methods
158 
171 -(id<AGSCancelable>)defaultExportVectorTilesParametersWithAreaOfInterest:(AGSGeometry *)areaOfInterest
172  maxScale:(double)maxScale
173  completion:(void(^)(AGSExportVectorTilesParameters * __nullable params, NSError * __nullable error))completion;
174 
175 
183 -(AGSExportVectorTilesJob*)exportStyleResourceCacheJobWithDownloadDirectory:(NSURL*)downloadDirectory;
184 
185 
194 -(AGSExportVectorTilesJob*)exportVectorTilesJobWithParameters:(AGSExportVectorTilesParameters*)parameters
195  downloadFileURL:(NSURL *)downloadFileURL;
196 
197 
208 -(AGSExportVectorTilesJob*)exportVectorTilesJobWithParameters:(AGSExportVectorTilesParameters*)parameters
209  vectorTileCacheDownloadFileURL:(NSURL *)vectorTileCacheDownloadFileURL
210  itemResourceCacheDownloadDirectory:(NSURL*)itemResourceCacheDownloadDirectory;
211 
212 @end
213 
214 
NSURL * URL
Definition: AGSElevationServiceInfo.h:73
A job to export a tile cache or item resource cache from an ArcGIS Vector Tile service.
Definition: AGSExportVectorTilesJob.h:44
Parameters for the operations on AGSExportVectorTilesTask.
Definition: AGSExportVectorTilesParameters.h:69
A task used to export vector tiles and optionally a portal item's vector tile style resources.
Definition: AGSExportVectorTilesTask.h:65
AGSPortalItem * portalItem
Definition: AGSExportVectorTilesTask.h:148
BOOL hasStyleResources
Definition: AGSExportVectorTilesTask.h:141
AGSVectorTileSourceInfo * vectorTileSourceInfo
Definition: AGSExportVectorTilesTask.h:154
Base class for all classes that represent geometric shapes.
Definition: AGSGeometry.h:121
Definition: AGSLoadableRemoteResourceBase.h:35
Object representing a unit of content in an ArcGIS portal.
Definition: AGSPortalItem.h:93
Metadata about a source of vector tiles.
Definition: AGSVectorTileSourceInfo.h:44
An interface for getting and setting the API key of an object.
Definition: AGSAPIKeyResource.h:36
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38