25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSGeoprocessingParameter.h>
27 #import <ArcGIS/AGSCancelable.h>
42 #pragma mark initializers
49 -(instancetype)initWithURL:(NSURL*)URL;
51 -(instancetype)initWithInputFileURL:(NSURL*)inputFileURL;
53 -(instancetype)initWithUploadID:(NSString*)uploadID;
61 +(instancetype)geoprocessingDataFileWithURL:(NSURL*)URL;
63 +(instancetype)geoprocessingDataFileWithInputFileURL:(NSURL*)inputFileURL;
65 +(instancetype)geoprocessingDataFileWithUploadID:(NSString*)uploadID;
68 #pragma mark properties
73 @property (nullable, nonatomic, strong, readwrite) NSURL *
URL;
82 @property (nullable, nonatomic, strong, readwrite) NSURL *
inputFileURL;
91 @property (nonatomic, copy, readwrite) NSString *
uploadID;
101 -(id<
AGSCancelable>)downloadToFileURL:(NSURL*)fileURL completion:(
void(^)(NSURL * __nullable fileURL, NSError * __nullable error))completion;
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