<AGSRouteTaskDelegate> Protocol Reference
Description
A protocol which must be adopted by any class wishing to be notified when AGSRouteTask
completes successfully or encounters an error. An instance of the class must then be set as the delegate of AGSRouteTask
.
- Defined in:
- AGSRouteTask.h ( ArcGIS library)
- Since:
- 1.8
List of all members.
Member Function Documentation
- (void) routeTask: |
|
(AGSRouteTask *) |
routeTask |
operation: |
|
(NSOperation *) |
op |
didFailSolveWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while performing the solve operation.
- Parameters:
-
| routeTask | The route task that performed the solve operation. |
| op | NSOperation that performed the solve task. |
| error | The error encountered by the solve operation. |
- Since:
- 1.8
- (void) routeTask: |
|
(AGSRouteTask *) |
routeTask |
operation: |
|
(NSOperation *) |
op |
didFailToRetrieveDefaultRouteTaskParametersWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while retrieving the default route parameters.
- Parameters:
-
| routeTask | The route task that performed the request for default parameters. |
| op | NSOperation that performed the request. |
| error | The error encountered by the request. |
- Since:
- 1.8
Tells the delegate that the default route parameters were retrieved successfully.
- Parameters:
-
| routeTask | The route task that performed the request for default parameters. |
| op | NSOperation that performed the request. |
| routeParams | The default route parameters for the task. |
- Since:
- 1.8
Tells the delegate that the solve operation completed successfully.
- Parameters:
-
| routeTask | The route task that performed the solve operation. |
| op | NSOperation that performed the solve task. |
| routeTaskResult | The result of the solve operation. |
- Since:
- 1.8