ArcGIS Runtime SDK for iOS: AGSGeoprocessingDataFile.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSGeoprocessingDataFile.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/AGSGeoprocessingParameter.h>
27 #import <ArcGIS/AGSCancelable.h>
28  //Required for Globals API doc
30 
39 
40 
41 #pragma mark -
42 #pragma mark initializers
43 
44 
49 -(instancetype)initWithURL:(NSURL*)URL;
50 
51 -(instancetype)initWithInputFileURL:(NSURL*)inputFileURL;
52 
53 -(instancetype)initWithUploadID:(NSString*)uploadID;
54 
55 +(instancetype)geoprocessingDataFile;
56 
61 +(instancetype)geoprocessingDataFileWithURL:(NSURL*)URL;
62 
63 +(instancetype)geoprocessingDataFileWithInputFileURL:(NSURL*)inputFileURL;
64 
65 +(instancetype)geoprocessingDataFileWithUploadID:(NSString*)uploadID;
66 
67 #pragma mark -
68 #pragma mark properties
69 
73 @property (nullable, nonatomic, strong, readwrite) NSURL *URL;
74 
82 @property (nullable, nonatomic, strong, readwrite) NSURL *inputFileURL;
83 
91 @property (nonatomic, copy, readwrite) NSString *uploadID;
92 
93 #pragma mark -
94 #pragma mark methods
95 
101 -(id<AGSCancelable>)downloadToFileURL:(NSURL*)fileURL completion:(void(^)(NSURL * __nullable fileURL, NSError * __nullable error))completion;
102 
103 
104 @end
NSURL * URL
Definition: AGSElevationServiceInfo.h:73
A geoprocessing parameter for files.
Definition: AGSGeoprocessingDataFile.h:39
NSString * uploadID
Definition: AGSGeoprocessingDataFile.h:91
NSURL * inputFileURL
Definition: AGSGeoprocessingDataFile.h:82
instancetype geoprocessingDataFile()
A base class for geoprocessing parameters.
Definition: AGSGeoprocessingParameter.h:38
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38