ArcGIS Runtime SDK for iOS: AGSTravelMode.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSTravelMode.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 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  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObject.h>
29 
30 
31 
36 typedef NS_ENUM(NSInteger, AGSUTurnPolicy) {
41 };
42 
44 
54 
55 #pragma mark -
56 #pragma mark initializers
57 
58 -(instancetype)init;
59 +(instancetype)travelMode;
60 
61 #pragma mark -
62 #pragma mark properties
63 
68 @property (nonatomic, copy, readwrite) NSArray<AGSAttributeParameterValue*> *attributeParameterValues;
69 
73 @property (nonatomic, copy, readwrite) NSString *travelModeDescription;
74 
78 @property (nonatomic, copy, readwrite) NSString *distanceAttributeName;
79 
86 @property (nonatomic, copy, readwrite) NSString *impedanceAttributeName;
87 
91 @property (nonatomic, copy, readwrite) NSString *name;
92 
96 @property (nonatomic, assign, readwrite) double outputGeometryPrecision;
97 
102 @property (nonatomic, copy, readwrite) NSArray<NSString*> *restrictionAttributeNames;
103 
104 
108 @property (nonatomic, copy, readwrite) NSString *timeAttributeName;
109 
113 @property (nonatomic, copy, readwrite) NSString *type;
114 
119 @property (nonatomic, assign, readwrite) BOOL useHierarchy;
120 
124 @property (nonatomic, assign, readwrite) AGSUTurnPolicy uTurnPolicy;
125 
126 @end
127 
128 
AGSUTurnPolicy
Definition: AGSTravelMode.h:36
@ AGSUTurnPolicyNotAllowed
Definition: AGSTravelMode.h:37
@ AGSUTurnPolicyAllowedAtIntersections
Definition: AGSTravelMode.h:39
@ AGSUTurnPolicyAllowedAtDeadEndsAndIntersections
Definition: AGSTravelMode.h:40
@ AGSUTurnPolicyAllowedAtDeadEnds
Definition: AGSTravelMode.h:38
A class that contains value of attribute's parameter.
Definition: AGSAttributeParameterValue.h:35
Definition: AGSObject.h:28
Travel options for routes generated by AGSRouteTask.
Definition: AGSTravelMode.h:54
BOOL useHierarchy
Definition: AGSTravelMode.h:119
NSString * name
Definition: AGSTravelMode.h:91
NSString * timeAttributeName
Definition: AGSTravelMode.h:108
double outputGeometryPrecision
Definition: AGSTravelMode.h:96
NSString * impedanceAttributeName
Definition: AGSTravelMode.h:86
instancetype init()
NSString * type
Definition: AGSTravelMode.h:113
AGSUTurnPolicy uTurnPolicy
Definition: AGSTravelMode.h:124
NSString * travelModeDescription
Definition: AGSTravelMode.h:73
NSArray< AGSAttributeParameterValue * > * attributeParameterValues
Definition: AGSTravelMode.h:68
instancetype travelMode()
NSString * distanceAttributeName
Definition: AGSTravelMode.h:78
NSArray< NSString * > * restrictionAttributeNames
Definition: AGSTravelMode.h:102