<AGSServiceAreaTaskDelegate> Protocol Reference


Description

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

Defined in:
AGSServiceAreaTask.h ( ArcGIS library)
Since:
1.8

List of all members.

Public Member Functions

(void) - serviceAreaTask:operation:didFailSolveWithError:
(void) - serviceAreaTask:operation:didFailToRetrieveDefaultServiceAreaTaskParametersWithError:
(void) - serviceAreaTask:operation:didRetrieveDefaultServiceAreaTaskParameters:
(void) - serviceAreaTask:operation:didSolveServiceAreaWithResult:

Member Function Documentation

- (void) serviceAreaTask: (AGSServiceAreaTask *)  serviceAreaTask
operation: (NSOperation *)  op
didFailSolveWithError: (NSError *)  error 
[optional]

Tells the delegate that an error was encountered while performing the service area operation.

Parameters:
serviceAreaTask The task that performed the service area operation.
op NSOperation that performed the service area task.
error The error encountered by the service area operation.
Since:
1.8
- (void) serviceAreaTask: (AGSServiceAreaTask *)  serviceAreaTask
operation: (NSOperation *)  op
didFailToRetrieveDefaultServiceAreaTaskParametersWithError: (NSError *)  error 
[optional]

Tells the delegate that an error was encountered while retrieving the default service area parameters.

Parameters:
serviceAreaTask The task that performed the request for default parameters.
op NSOperation that performed the request.
error The error encountered by the request.
Since:
1.8
- (void) serviceAreaTask: (AGSServiceAreaTask *)  serviceAreaTask
operation: (NSOperation *)  op
didRetrieveDefaultServiceAreaTaskParameters: (AGSServiceAreaTaskParameters *)  serviceAreaParams 
[optional]

Tells the delegate that the default service area parameters were retrieved successfully.

Parameters:
serviceAreaTask The task that performed the request for default parameters.
op NSOperation that performed the request.
serviceAreaParams The default service area parameters for the task.
Since:
1.8
- (void) serviceAreaTask: (AGSServiceAreaTask *)  serviceAreaTask
operation: (NSOperation *)  op
didSolveServiceAreaWithResult: (AGSServiceAreaTaskResult *)  serviceAreaTaskResult 
[required]

Tells the delegate that the service area operation completed successfully.

Parameters:
serviceAreaTask The task that performed the service area operation.
op NSOperation that performed the service area task.
serviceAreaTaskResult The result of the service area operation.
Since:
1.8