ArcGIS Runtime SDK for iOS: AGSClosestFacilityRoute.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSClosestFacilityRoute.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 #import <ArcGIS/AGSRouteTypes.h>
28 
29 @class AGSPolyline;
31  //Required for Globals API doc
33 
41 
42 
43 #pragma mark -
44 #pragma mark initializers
45 
46 
47 
48 #pragma mark -
49 #pragma mark properties
50 
54 @property (nonatomic, assign, readonly) AGSCurbApproach arrivalCurbApproach;
55 
59 @property (nonatomic, assign, readonly) AGSCurbApproach departureCurbApproach;
60 
66 @property (nonatomic, copy, readonly) NSArray<AGSDirectionManeuver*> *directionManeuvers;
67 
71 @property (nullable, nonatomic, strong, readonly) NSDate *endTime;
72 
76 @property (nonatomic, assign, readonly) double endTimeShift;
77 
81 @property (nullable, nonatomic, strong, readonly) AGSPolyline *routeGeometry;
82 
86 @property (nullable, nonatomic, strong, readonly) NSDate *startTime;
87 
91 @property (nonatomic, assign, readonly) double startTimeShift;
92 
96 @property (nonatomic, assign, readonly) double totalLength;
97 
102 @property (nonatomic, assign, readonly) double totalTime;
103 
107 @property (nonatomic, assign, readonly) double travelTime;
108 
109 #pragma mark -
110 #pragma mark methods
111 
112 -(double)costForCostAttribute:(NSString*)attributeName;
113 
114 
115 @end
AGSCurbApproach
Definition: AGSRouteTypes.h:35
An individual route between a facility and an incident.
Definition: AGSClosestFacilityRoute.h:41
AGSCurbApproach arrivalCurbApproach
Definition: AGSClosestFacilityRoute.h:54
NSDate * endTime
Definition: AGSClosestFacilityRoute.h:71
double totalLength
Definition: AGSClosestFacilityRoute.h:96
double travelTime
Definition: AGSClosestFacilityRoute.h:107
NSArray< AGSDirectionManeuver * > * directionManeuvers
Definition: AGSClosestFacilityRoute.h:66
double totalTime
Definition: AGSClosestFacilityRoute.h:102
AGSCurbApproach departureCurbApproach
Definition: AGSClosestFacilityRoute.h:59
NSDate * startTime
Definition: AGSClosestFacilityRoute.h:86
double startTimeShift
Definition: AGSClosestFacilityRoute.h:91
double endTimeShift
Definition: AGSClosestFacilityRoute.h:76
AGSPolyline * routeGeometry
Definition: AGSClosestFacilityRoute.h:81
A single maneuver in a series of driving direction.
Definition: AGSDirectionManeuver.h:82
Definition: AGSObject.h:28
A multipart linear shape.
Definition: AGSPolyline.h:68