<AGSFindTaskDelegate> Protocol Reference


Description

A protocol which must be adopted by any class wishing to be notified when the AGSFindTask completes successfully or encounters an error. An instance of the class must then be set as the delegate of AGSFindTask.

Defined in:
AGSFindTask.h ( ArcGIS library)
Since:
1.0

List of all members.

Public Member Functions

(void) - findTask:operation:didExecuteWithFindResults:
(void) - findTask:operation:didFailWithError:

Member Function Documentation

- (void) findTask: (AGSFindTask *)  findTask
operation: (NSOperation *)  op
didExecuteWithFindResults: (NSArray *)  results 
[required]

Tells the delegate that AGSFindTask completed successfully with the provided results.

Parameters:
findTask The task which performed the search.
op NSOperation which executed the find task.
results The resulting array of AGSFindResult objects.
- (void) findTask: (AGSFindTask *)  findTask
operation: (NSOperation *)  op
didFailWithError: (NSError *)  error 
[optional]

Tells the delegate that AGSFindTask encountered an error.

Parameters:
findTask The task which performed the search.
op NSOperation which executed the find task.
error Information about the error returned by server.