ArcGIS Runtime SDK for iOS: AGSServiceAreaResult Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSServiceAreaResult Class Reference

Description

Result returned by AGSServiceAreaTask.

Instances of this class represent the result of solveServiceAreaWithParameters:completion: (AGSServiceAreaTask). The result is a collection of computed service area geometries, barriers used in the computation, and messages generated during the process.

Since
100.1
Inheritance diagram for AGSServiceAreaResult:
AGSObject

Instance Methods

(nullable NSArray< AGSServiceAreaPolygon * > *) - resultPolygonsAtFacilityIndex:
 
(nullable NSArray< AGSServiceAreaPolyline * > *) - resultPolylinesAtFacilityIndex:
 

Properties

NSArray< AGSServiceAreaFacility * > * facilities
 
NSArray< NSString * > * messages
 
NSArray< AGSPointBarrier * > * pointBarriers
 
NSArray< AGSPolygonBarrier * > * polygonBarriers
 
NSArray< AGSPolylineBarrier * > * polylineBarriers
 

Method Documentation

◆ resultPolygonsAtFacilityIndex:

- (nullable NSArray<AGSServiceAreaPolygon*> *) resultPolygonsAtFacilityIndex: (NSInteger)  facilityIndex

Service area polygons for the specified facility. Available if AGSServiceAreaParameters::returnPolygons was set to YES.

See also
AGSPolygonBarrier, AGSServiceAreaParameters
Parameters
facilityIndexindex of the desired facility in the facilities collection
Since
100.1

◆ resultPolylinesAtFacilityIndex:

- (nullable NSArray<AGSServiceAreaPolyline*> *) resultPolylinesAtFacilityIndex: (NSInteger)  facilityIndex

Service area polylines for the specified facility. Available if AGSServiceAreaParameters::returnPolylines was set to YES.

See also
AGSServiceAreaPolyline, AGSServiceAreaParameters
Parameters
facilityIndexindex of the desired facility in the facilities collection
Since
100.1

Property Documentation

◆ facilities

- (NSArray<AGSServiceAreaFacility*>*) facilities
readnonatomiccopy

Facilities used in the analysis

See also
AGSServiceAreaFacility
Since
100.1

◆ messages

- (NSArray<NSString*>*) messages
readnonatomiccopy

Informational messages that were generated while computing results.

Since
100.1

◆ pointBarriers

- (NSArray<AGSPointBarrier*>*) pointBarriers
readnonatomiccopy

Point barriers used in the service area computation. Only available if AGSServiceAreaParameters::returnPointBarriers was enabled.

Since
100.1
See also
- setPointBarriers: (AGSServiceAreaParameters) or - setPointBarriersWithFeatureTable:queryParameters: (AGSServiceAreaParameters) to specify the barriers to use

◆ polygonBarriers

- (NSArray<AGSPolygonBarrier*>*) polygonBarriers
readnonatomiccopy

Polygon barriers used in the service area computation. Only available if AGSServiceAreaParameters::returnPolygonBarriers was enabled.

Since
100.1
See also
- setPolygonBarriers: (AGSServiceAreaParameters) or - setPolygonBarriersWithFeatureTable:queryParameters: (AGSServiceAreaParameters) to specify the barriers to use

◆ polylineBarriers

- (NSArray<AGSPolylineBarrier*>*) polylineBarriers
readnonatomiccopy

Polyline barriers used in the service area computation. Only available if AGSServiceAreaParameters::returnPolylineBarriers was enabled.

Since
100.1
See also
- setPolylineBarriers: (AGSServiceAreaParameters) or - setPolylineBarriersWithFeatureTable:queryParameters: (AGSServiceAreaParameters) to specify the barriers to use