<AGSFeatureLayerQueryDelegate> Protocol Reference
Description
A protocol which must be adopted by any class wishing to be notified when query operations performed by AGSFeatureLayer complete successfully or encounter an error. An instance of the class must then be set as the queryDelegate of AGSFeatureLayer.
- Defined in:
- AGSFeatureLayer.h ( ArcGIS library)
- Since:
- 1.0
List of all members.
Member Function Documentation
| - (void) featureLayer: |
|
(AGSFeatureLayer *) |
featureLayer |
| operation: |
|
(NSOperation *) |
op |
| didFailQueryFeaturesWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that AGSFeatureLayer encountered an error while performing the query.
- Parameters:
-
| featureLayer | The feature layer which performed the query. |
| op | The operation that performed the query. |
| error | Information about the error that was encountered. |
- Since:
- 1.0
| - (void) featureLayer: |
|
(AGSFeatureLayer *) |
featureLayer |
| operation: |
|
(NSOperation *) |
op |
| didFailQueryObjectIdsWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that AGSFeatureLayer encountered an error while performing query for IDs
- Parameters:
-
| featureLayer | The feature layer which performed the query. |
| op | The operation that performed the query. |
| error | Information about the error that was encountered. |
- Since:
- 1.0
| - (void) featureLayer: |
|
(AGSFeatureLayer *) |
featureLayer |
| operation: |
|
(NSOperation *) |
op |
| didFailQueryRelatedFeaturesWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that AGSFeatureLayer encountered an error while performing query for related features.
- Parameters:
-
| featureLayer | The feature layer which performed the query. |
| op | The operation that performed the query. |
| error | Information about the error that was encountered. |
- Since:
- 1.0
| - (void) featureLayer: |
|
(AGSFeatureLayer *) |
featureLayer |
| operation: |
|
(NSOperation *) |
op |
| didFailSelectFeaturesWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that AGSFeatureLayer encountered an error while try to select features.
- Parameters:
-
| featureLayer | The feature layer which performed the selection. |
| op | The operation that performed the selection. |
| error | Information about the error that was encountered. |
- Since:
- 1.0
| - (void) featureLayer: |
|
(AGSFeatureLayer *) |
featureLayer |
| operation: |
|
(NSOperation *) |
op |
| didQueryFeaturesWithFeatureSet: |
|
(AGSFeatureSet *) |
featureSet | |
|
|
| | [optional] |
Tells the delegate that AGSFeatureLayer completed the query successfully with the provided results.
- Parameters:
-
| featureLayer | The feature layer which performed the query. |
| op | The operation that performed the query. |
| featureSet | The feature set returned by executing query. |
- Since:
- 1.0
| - (void) featureLayer: |
|
(AGSFeatureLayer *) |
featureLayer |
| operation: |
|
(NSOperation *) |
op |
| didQueryObjectIdsWithResults: |
|
(NSArray *) |
objectIds | |
|
|
| | [optional] |
Tells the delegate that AGSFeatureLayer completed query for IDs successfully with the provided results.
- Parameters:
-
| featureLayer | The feature layer which performed the query. |
| op | The operation that performed the query. |
| objectIds | The object IDs returned by executing query. |
- Since:
- 1.0
| - (void) featureLayer: |
|
(AGSFeatureLayer *) |
featureLayer |
| operation: |
|
(NSOperation *) |
op |
| didQueryRelatedFeaturesWithResults: |
|
(NSDictionary *) |
relatedFeatures | |
|
|
| | [optional] |
Tells the delegate that AGSFeatureLayer completed query for related features successfully with the provided results. The related features are returned as a dictionary of key-value pairs. Keys are NSNumber objects representing IDs from AGSRelationshipQuery. Values are AGSFeatureSet objects representing the corresponding related features.
- Parameters:
-
| featureLayer | The feature layer which performed the query. |
| op | The operation that performed the query. |
| relatedFeatures | The related features returned by executing query. |
- Since:
- 1.0
| - (void) featureLayer: |
|
(AGSFeatureLayer *) |
featureLayer |
| operation: |
|
(NSOperation *) |
op |
| didSelectFeaturesWithFeatureSet: |
|
(AGSFeatureSet *) |
featureSet | |
|
|
| | [optional] |
Tells the delegate that AGSFeatureLayer successfully selected the given features.
- Parameters:
-
| featureLayer | The feature layer which performed the selection. |
| op | The operation that performed the selection. |
| featureSet | The set of features that were selected. |
- Since:
- 1.0