AGSServiceAreaTaskResult Class Reference


Description

The result from an AGSServiceAreaTask operation.

Since:
1.8
Inheritance diagram for AGSServiceAreaTaskResult:
<AGSCoding>

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:

Properties

NSArray * facilities
NSArray * messages
NSArray * pointBarriers
NSArray * polygonBarriers
NSArray * polylineBarriers
NSArray * serviceAreaPolygons
NSArray * serviceAreaPolylines

Member Function Documentation

- (void) decodeWithJSON: (NSDictionary *)  json   [optional, inherited]

Decode object from JSON representation.

Parameters:
json The JSON representation of the object to be decoded.
Since:
1.0
- (NSDictionary *) encodeToJSON   [optional, inherited]

Encode and return JSON representation for object.

Returns:
JSON representation of object.
Since:
1.0
- (id) initWithJSON: (NSDictionary *)  json   [optional, inherited]

Initialize and return object from JSON representation.

Parameters:
json The JSON representation of the object to be created.
Returns:
Object decoded from JSON representation.
Since:
1.0

Property Documentation

- (NSArray*) facilities [read, retain]

Array of points, only returned if the returnFacilities property on AGSServiceAreaTaskParameters is set to true.

Since:
1.8
- (NSArray*) messages [read, retain]

Message received when solve is completed. If a service area cannot be solved, the message returned by the server identifies the incident that could not be solved.

Since:
1.8
- (NSArray*) pointBarriers [read, retain]

The point barriers are an array of points. They are returned only if returnPointBarriers was set to true (which is not the default). If you send in the point barriers as a featureSet (instead of using AGSDataLayer), you already have the barriers and might not need to request them back from the server.

Since:
1.8
- (NSArray*) polygonBarriers [read, retain]

The polygon barriers are an array of polygons. They are returned only if returnPolygonBarriers was set to true (which is not the default). If you send in the polygon barriers as a featureSet (instead of using AGSDataLayer), you already have the barriers and might not need to request them back from the server.

Since:
1.8
- (NSArray*) polylineBarriers [read, retain]

The polyline barriers are an array of polylines. They are returned only if returnPolylineBarriers was set to true (which is not the default). If you send in the polyline barriers as a featureSet (instead of using AGSDataLayer), you already have the barriers and might not need to request them back from the server.

Since:
1.8
- (NSArray*) serviceAreaPolygons [read, retain]

Array of service area polygons.

Since:
1.8
- (NSArray*) serviceAreaPolylines [read, retain]

Array of service area polylines.

Since:
1.8