ArcGIS Runtime SDK for iOS: AGSServiceAreaResult.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSServiceAreaResult.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSObject.h>
27 
29 @class AGSPointBarrier;
30 @class AGSPolylineBarrier;
31 @class AGSPolygonBarrier;
34  //Required for Globals API doc
36 
45 
46 
47 
48 #pragma mark -
49 #pragma mark initializers
50 
51 
52 
53 #pragma mark -
54 #pragma mark properties
55 
60 @property (nonatomic, copy, readonly) NSArray<AGSServiceAreaFacility*> *facilities;
61 
65 @property (nonatomic, copy, readonly) NSArray<NSString*> *messages;
66 
71 @property (nonatomic, copy, readonly) NSArray<AGSPointBarrier*> *pointBarriers;
72 
77 @property (nonatomic, copy, readonly) NSArray<AGSPolygonBarrier*> *polygonBarriers;
78 
83 @property (nonatomic, copy, readonly) NSArray<AGSPolylineBarrier*> *polylineBarriers;
84 
85 #pragma mark -
86 #pragma mark methods
87 
93 -(nullable NSArray<AGSServiceAreaPolygon*> *)resultPolygonsAtFacilityIndex:(NSInteger)facilityIndex;
94 
100 -(nullable NSArray<AGSServiceAreaPolyline*> *)resultPolylinesAtFacilityIndex:(NSInteger)facilityIndex;
101 
102 
103 
104 @end
105 
Definition: AGSObject.h:28
A point barrier to constrain routes.
Definition: AGSPointBarrier.h:43
A polygon barrier to constrain routes.
Definition: AGSPolygonBarrier.h:42
A polyline barrier to constrain routes.
Definition: AGSPolylineBarrier.h:42
A facility to use in service area analysis.
Definition: AGSServiceAreaFacility.h:41
Result polygon returned by AGSServiceAreaTask.
Definition: AGSServiceAreaPolygon.h:39
Result polyline returned by AGSServiceAreaTask.
Definition: AGSServiceAreaPolyline.h:40
Result returned by AGSServiceAreaTask.
Definition: AGSServiceAreaResult.h:45
NSArray< AGSServiceAreaFacility * > * facilities
Definition: AGSServiceAreaResult.h:60
NSArray< AGSPolygonBarrier * > * polygonBarriers
Definition: AGSServiceAreaResult.h:77
NSArray< AGSPolylineBarrier * > * polylineBarriers
Definition: AGSServiceAreaResult.h:83
NSArray< NSString * > * messages
Definition: AGSServiceAreaResult.h:65
NSArray< AGSPointBarrier * > * pointBarriers
Definition: AGSServiceAreaResult.h:71