ArcGIS Runtime SDK for iOS: AGSExportTileCacheTask.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSExportTileCacheTask.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/AGSLoadableRemoteResourceBase.h>
27 #import <ArcGIS/AGSAPIKeyResource.h>
28 
29 
30 
35 @class AGSGeometry;
36 
37 @protocol AGSCancelable;
38  //Required for Globals API doc
40 
67 
68 #pragma mark -
69 #pragma mark initializers
70 
71 
72 
77 -(instancetype)initWithURL:(NSURL*)URL;
78 
84 +(instancetype)exportTileCacheTaskWithURL:(NSURL*)URL;
85 
86 #pragma mark -
87 #pragma mark properties
88 
96 @property (nullable, nonatomic, strong, readonly) AGSArcGISMapServiceInfo *mapServiceInfo;
97 
98 #pragma mark -
99 #pragma mark methods
100 
111 -(id<AGSCancelable>)exportTileCacheParametersWithAreaOfInterest:(AGSGeometry *)areaOfInterest
112  minScale:(double)minScale
113  maxScale:(double)maxScale
114  completion:(void(^)(AGSExportTileCacheParameters * __nullable exportTileCacheParameters, NSError * __nullable error))completion;
115 
123 -(AGSEstimateTileCacheSizeJob*)estimateTileCacheSizeJobWithParameters:(AGSExportTileCacheParameters *)parameters;
124 
145 -(AGSExportTileCacheJob*)exportTileCacheJobWithParameters:(AGSExportTileCacheParameters *)parameters
146  downloadFileURL:(NSURL *)downloadFileURL;
147 
148 @end
149 
150 
Information about an ArcGIS Server map service.
Definition: AGSArcGISMapServiceInfo.h:48
A job to estimate the size of a tile cache to be exported from an ArcGIS Tile service.
Definition: AGSEstimateTileCacheSizeJob.h:41
A job to export a tile cache from an ArcGIS Tile service.
Definition: AGSExportTileCacheJob.h:41
Parameters for the operations on AGSExportTileCacheTask.
Definition: AGSExportTileCacheParameters.h:40
A task used to export a tile cache (.tpk or .tpkx). Use this in conjunction with a map or image servi...
Definition: AGSExportTileCacheTask.h:66
AGSArcGISMapServiceInfo * mapServiceInfo
Definition: AGSExportTileCacheTask.h:96
Base class for all classes that represent geometric shapes.
Definition: AGSGeometry.h:121
Definition: AGSLoadableRemoteResourceBase.h:35
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