ArcGIS Runtime SDK for iOS: AGSGeoprocessingTask.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSGeoprocessingTask.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 
28 @class AGSGeoprocessingJob;
31 
32 @protocol AGSCancelable;
33  //Required for Globals API doc
35 
43 
44 
45 #pragma mark -
46 #pragma mark initializers
47 
48 
49 
55 -(instancetype)initWithURL:(NSURL*)URL;
56 
62 +(instancetype)geoprocessingTaskWithURL:(NSURL*)URL;
63 
64 #pragma mark -
65 #pragma mark properties
66 
70 @property (nullable, nonatomic, strong, readonly) AGSGeoprocessingTaskInfo *geoprocessingTaskInfo;
71 
72 #pragma mark -
73 #pragma mark methods
74 
75 -(id<AGSCancelable>)defaultGeoprocessingParametersWithCompletion:(void(^)(AGSGeoprocessingParameters * __nullable geoprocessingParams, NSError * __nullable error))completion;
76 
84 -(AGSGeoprocessingJob*)geoprocessingJobWithParameters:(AGSGeoprocessingParameters*)parameters;
85 
86 
87 @end
A job to execute tasks on an ArcGIS Geoprocessing service.
Definition: AGSGeoprocessingJob.h:42
Input parameters for a geoprocessing job.
Definition: AGSGeoprocessingParameters.h:42
A task to perform Geoprocessing.
Definition: AGSGeoprocessingTask.h:43
AGSGeoprocessingTaskInfo * geoprocessingTaskInfo
Definition: AGSGeoprocessingTask.h:70
Information about a Geoprocessing Task.
Definition: AGSGeoprocessingTaskInfo.h:40
Definition: AGSLoadableRemoteResourceBase.h:35
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38