ArcGIS Runtime SDK for iOS: AGSRouteTaskInfo.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSRouteTaskInfo.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/AGSUnitSystem.h>
28 #import <ArcGIS/AGSRouteTypes.h>
29 
30 @class AGSSpatialReference;
31 @class AGSCostAttribute;
33 @class AGSTravelMode;
34  //Required for Globals API doc
36 
44 
45 
46 #pragma mark -
47 #pragma mark initializers
48 
49 
50 
51 #pragma mark -
52 #pragma mark properties
53 
57 @property (nonatomic, copy, readonly) NSArray<NSString*> *accumulateAttributeNames;
58 
62 @property (nullable, nonatomic, copy, readonly) NSDictionary<NSString*,AGSCostAttribute*> *costAttributes;
63 
68 @property (nonatomic, copy, readonly) NSString *defaultTravelModeName;
69 
73 @property (nonatomic, assign, readonly) AGSUnitSystem directionsDistanceUnits;
74 
78 @property (nonatomic, copy, readonly) NSString *directionsLanguage;
79 
83 @property (nonatomic, assign, readonly) AGSDirectionsStyle directionsStyle;
84 
88 @property (nonatomic, assign, readonly) BOOL findBestSequence;
89 
95 @property (nonatomic, assign, readonly) double maxLocatingDistance;
96 
100 @property (nullable, nonatomic, strong, readonly) NSDate *startTime;
101 
105 @property (nonatomic, copy, readonly) NSString *networkName;
106 
110 @property (nullable, nonatomic, strong, readonly) AGSSpatialReference *outputSpatialReference;
111 
116 @property (nonatomic, assign, readonly) BOOL preserveFirstStop;
117 
122 @property (nonatomic, assign, readonly) BOOL preserveLastStop;
123 
127 @property (nullable, nonatomic, copy, readonly) NSDictionary<NSString*,AGSRestrictionAttribute*> *restrictionAttributes;
128 
132 @property (nonatomic, assign, readonly) AGSRouteShapeType routeShapeType;
133 
137 @property (nonatomic, copy, readonly) NSArray<NSString*> *supportedLanguages;
138 
142 @property (nonatomic, copy, readonly) NSArray<NSString*> *supportedRestrictionUsageParameterValues;
143 
149 @property (nonatomic, assign, readonly) AGSNetworkDirectionsSupport directionsSupport;
150 
154 @property (nonatomic, copy, readonly) NSArray<AGSTravelMode*> *travelModes;
155 
160 @property (nonatomic, assign, readonly) BOOL supportsRerouting;
161 
162 
163 @end
AGSRouteShapeType
Definition: AGSRouteTypes.h:79
AGSNetworkDirectionsSupport
Definition: AGSRouteTypes.h:69
AGSDirectionsStyle
Definition: AGSRouteTypes.h:47
AGSUnitSystem
Definition: AGSUnitSystem.h:35
A cost to travel along the edge of a transportation network.
Definition: AGSCostAttribute.h:63
Definition: AGSObject.h:28
Restrictions within a transportation network.
Definition: AGSRestrictionAttribute.h:38
Metadata about the network analyst service or dataset used by AGSRouteTask.
Definition: AGSRouteTaskInfo.h:44
NSDictionary< NSString *, AGSCostAttribute * > * costAttributes
Definition: AGSRouteTaskInfo.h:62
BOOL preserveFirstStop
Definition: AGSRouteTaskInfo.h:116
AGSNetworkDirectionsSupport directionsSupport
Definition: AGSRouteTaskInfo.h:149
NSArray< AGSTravelMode * > * travelModes
Definition: AGSRouteTaskInfo.h:154
NSArray< NSString * > * supportedLanguages
Definition: AGSRouteTaskInfo.h:137
NSDate * startTime
Definition: AGSRouteTaskInfo.h:100
double maxLocatingDistance
Definition: AGSRouteTaskInfo.h:95
NSString * defaultTravelModeName
Definition: AGSRouteTaskInfo.h:68
NSDictionary< NSString *, AGSRestrictionAttribute * > * restrictionAttributes
Definition: AGSRouteTaskInfo.h:127
BOOL preserveLastStop
Definition: AGSRouteTaskInfo.h:122
NSArray< NSString * > * supportedRestrictionUsageParameterValues
Definition: AGSRouteTaskInfo.h:142
BOOL supportsRerouting
Definition: AGSRouteTaskInfo.h:160
NSArray< NSString * > * accumulateAttributeNames
Definition: AGSRouteTaskInfo.h:57
NSString * networkName
Definition: AGSRouteTaskInfo.h:105
AGSSpatialReference * outputSpatialReference
Definition: AGSRouteTaskInfo.h:110
BOOL findBestSequence
Definition: AGSRouteTaskInfo.h:88
AGSRouteShapeType routeShapeType
Definition: AGSRouteTaskInfo.h:132
AGSDirectionsStyle directionsStyle
Definition: AGSRouteTaskInfo.h:83
NSString * directionsLanguage
Definition: AGSRouteTaskInfo.h:78
AGSUnitSystem directionsDistanceUnits
Definition: AGSRouteTaskInfo.h:73
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49
Travel options for routes generated by AGSRouteTask.
Definition: AGSTravelMode.h:54