ArcGIS Runtime SDK for iOS: AGSExportTileCacheTask.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSExportTileCacheTask.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 
36 @class AGSGeometry;
37  //Required for Globals API doc
39 
71 
72 #pragma mark -
73 #pragma mark initializers
74 
75 
76 
81 -(instancetype)initWithURL:(NSURL*)URL;
82 
88 +(instancetype)exportTileCacheTaskWithURL:(NSURL*)URL;
89 
90 #pragma mark -
91 #pragma mark properties
92 
101 @property (nullable, nonatomic, strong, readonly) AGSArcGISMapServiceInfo *mapServiceInfo;
102 
103 #pragma mark -
104 #pragma mark methods
105 
116 -(id<AGSCancelable>)exportTileCacheParametersWithAreaOfInterest:(AGSGeometry *)areaOfInterest
117  minScale:(double)minScale
118  maxScale:(double)maxScale
119  completion:(void(^)(AGSExportTileCacheParameters * __nullable exportTileCacheParameters, NSError * __nullable error))completion;
120 
128 -(AGSEstimateTileCacheSizeJob*)estimateTileCacheSizeJobWithParameters:(AGSExportTileCacheParameters *)parameters;
129 
150 -(AGSExportTileCacheJob*)exportTileCacheJobWithParameters:(AGSExportTileCacheParameters *)parameters
151  downloadFileURL:(NSURL *)downloadFileURL;
152 
153 @end
154 
155 
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:70
AGSArcGISMapServiceInfo * mapServiceInfo
Definition: AGSExportTileCacheTask.h:101
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