ArcGIS Runtime SDK for iOS: AGSGeoprocessingFeatures.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSGeoprocessingFeatures.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/AGSGeoprocessingParameter.h>
27 
28 @protocol AGSCancelable, AGSFeatureSet;
29  //Required for Globals API doc
31 
39 
40 
41 #pragma mark -
42 #pragma mark initializers
43 
44 +(instancetype)geoprocessingFeatures;
45 
46 
51 -(instancetype)initWithURL:(NSURL*)URL;
52 
57 +(instancetype)geoprocessingFeaturesWithURL:(NSURL*)URL;
58 
63 -(instancetype)initWithFeatureSet:(id<AGSFeatureSet>)featureSet;
64 
69 +(instancetype)geoprocessingFeaturesWithFeatureSet:(id<AGSFeatureSet>)featureSet;
70 
71 #pragma mark -
72 #pragma mark properties
73 
78 @property (nullable, nonatomic, strong, readwrite) NSURL *URL;
79 
83 @property (nonatomic, assign, readonly) BOOL canFetchOutputFeatures;
84 
88 @property (nullable, nonatomic, strong, readwrite) id<AGSFeatureSet> features;
89 
90 #pragma mark -
91 #pragma mark methods
92 
97 -(id<AGSCancelable>)fetchOutputFeaturesWithCompletion:(void(^)(id<AGSFeatureSet> __nullable features, NSError * __nullable error))completion;
98 
99 
100 @end
NSURL * URL
Definition: AGSElevationServiceInfo.h:73
A geoprocessing parameter for feature data.
Definition: AGSGeoprocessingFeatures.h:39
instancetype geoprocessingFeatures()
BOOL canFetchOutputFeatures
Definition: AGSGeoprocessingFeatures.h:83
id< AGSFeatureSet > features
Definition: AGSGeoprocessingFeatures.h:88
A base class for geoprocessing parameters.
Definition: AGSGeoprocessingParameter.h:38
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
An abstract representation of a set of features.
Definition: AGSFeatureSet.h:41