ArcGIS Runtime SDK for iOS: AGSRoute.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSRoute.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 1995-2020 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18 
19 #import <ArcGIS/AGSObject.h>
20 
21 @class AGSPolyline;
23 @class AGSStop;
24  //Required for Globals API doc
26 
33 @interface AGSRoute : AGSObject
34 
35 
36 #pragma mark -
37 #pragma mark initializers
38 
39 
40 
41 #pragma mark -
42 #pragma mark properties
43 
48 @property (nonatomic, copy, readonly) NSArray<AGSDirectionManeuver*> *directionManeuvers;
49 
53 @property (nullable, nonatomic, strong, readonly) NSDate *startTime;
54 
58 @property (nonatomic, assign, readonly) double startTimeShift;
59 
63 @property (nullable, nonatomic, strong, readonly) NSDate *endTime;
64 
68 @property (nonatomic, assign, readonly) double endTimeShift;
69 
73 @property (nonatomic, assign, readonly) double totalLength;
74 
78 @property (nullable, nonatomic, strong, readonly) AGSPolyline *routeGeometry;
79 
84 @property (nonatomic, copy, readonly) NSString *routeName;
85 
92 @property (nonatomic, copy, readonly) NSArray<AGSStop*> *stops;
93 
98 @property (nonatomic, assign, readonly) double totalTime;
99 
103 @property (nonatomic, assign, readonly) double travelTime;
104 
110 @property (nonatomic, assign, readonly) double violationTime;
111 
117 @property (nonatomic, assign, readonly) double waitTime;
118 
119 #pragma mark -
120 #pragma mark methods
121 
122 -(double)costForCostAttribute:(NSString*)attributeName;
123 
124 
125 @end
NSString * routeName
Definition: AGSRoute.h:84
An individual route between stops.
Definition: AGSRoute.h:33
NSDate * startTime
Definition: AGSRoute.h:53
double endTimeShift
Definition: AGSRoute.h:68
NSDate * endTime
Definition: AGSRoute.h:63
double waitTime
Definition: AGSRoute.h:117
double startTimeShift
Definition: AGSRoute.h:58
A multipart linear shape.
Definition: AGSPolyline.h:49
A single maneuver in a series of driving direction.
Definition: AGSDirectionManeuver.h:74
double totalLength
Definition: AGSRoute.h:73
AGSPolyline * routeGeometry
Definition: AGSRoute.h:78
double totalTime
Definition: AGSRoute.h:98
Definition: AGSObject.h:21
NSArray< AGSStop * > * stops
Definition: AGSRoute.h:92
A stop along a route.
Definition: AGSStop.h:45
double travelTime
Definition: AGSRoute.h:103
NSArray< AGSDirectionManeuver * > * directionManeuvers
Definition: AGSRoute.h:48
double violationTime
Definition: AGSRoute.h:110