ArcGIS Runtime SDK for iOS: AGSGeoprocessingFeatures Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSGeoprocessingFeatures Class Reference

Description

A geoprocessing parameter for feature data.

Instances of this class represent a parameter for feature data that can be used as input to a geoprocessing job or returned as the result of the job.

Since
100
Inheritance diagram for AGSGeoprocessingFeatures:
AGSGeoprocessingParameter AGSObject

Instance Methods

(id< AGSCancelable >) - fetchOutputFeaturesWithCompletion:
 
(instancetype) - initWithFeatureSet:
 
(instancetype) - initWithURL:
 

Class Methods

(instancetype) + geoprocessingFeatures
 
(instancetype) + geoprocessingFeaturesWithFeatureSet:
 
(instancetype) + geoprocessingFeaturesWithURL:
 
(instancetype) + geoprocessingParameter
 

Properties

BOOL canFetchOutputFeatures
 
id< AGSFeatureSetfeatures
 
AGSGeoprocessingParameterType type
 
NSURL * URL
 

Method Documentation

◆ fetchOutputFeaturesWithCompletion:

- (id<AGSCancelable>) fetchOutputFeaturesWithCompletion: (void(^)(id< AGSFeatureSet > __nullable features, NSError *__nullable error))  completion

Fetches features from the ArcGIS Feature service at URL. This can be used to fetch features if features is nil. It is not necessary to call this if features is already populated.

Parameters
completionblock that is invoked with the features if the operation succeeds, or with an error if the operation fails.
Since
100

◆ geoprocessingFeatures

+ (instancetype) geoprocessingFeatures

◆ geoprocessingFeaturesWithFeatureSet:

+ (instancetype) geoprocessingFeaturesWithFeatureSet: (id< AGSFeatureSet >)  featureSet

Initialize the parameter with given features

Parameters
featureSetcontaining the feature data for this parameter
Since
100

◆ geoprocessingFeaturesWithURL:

+ (instancetype) geoprocessingFeaturesWithURL: (NSURL *)  URL

Initialize the parameter with given url

Parameters
URLto an ArcGIS Feature service containing the feature data for this parameter
Since
100

◆ geoprocessingParameter

+ (instancetype) geoprocessingParameter
Deprecated:
100.9. Do not use this method, it creates an invalid and incomplete object.

◆ initWithFeatureSet:

- (instancetype) initWithFeatureSet: (id< AGSFeatureSet >)  featureSet

Initialize the parameter with given features

Parameters
featureSetcontaining the feature data for this parameter
Since
100

◆ initWithURL:

- (instancetype) initWithURL: (NSURL *)  URL

Initialize the parameter with given url

Parameters
URLto an ArcGIS Feature service containing the feature data for this parameter
Since
100

Property Documentation

◆ canFetchOutputFeatures

- (BOOL) canFetchOutputFeatures
readnonatomicassign

Indicates whether this parameter represents feature data in an ArcGIS feature service that can be fetched using fetchOutputFeaturesWithCompletion:

Since
100

◆ features

- (id<AGSFeatureSet>) features
readwritenonatomicstrong

The feature data for this parameter

Since
100

◆ type

- (AGSGeoprocessingParameterType) type
readnonatomicassigninherited

The data type of the parameter.

Since
100

◆ URL

- (NSURL*) URL
readwritenonatomicstrong

URL to an ArcGIS Feature service contianing the feature data for this parameter. Only applicable if this parameter was initialized with a URL.

Since
100
See also
- fetchOutputFeaturesWithCompletion: to fetch the features from the service