ArcGIS Runtime SDK for iOS: AGSReroutingParameters.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSReroutingParameters.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  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObject.h>
29 #import <ArcGIS/AGSRouteTracker.h>
30 
31 
32 
34 @class AGSRouteParameters;
35 @class AGSRouteTask;
36 
50 
51 #pragma mark -
52 #pragma mark initializers
53 
54 
55 
64 - (nullable instancetype)initWithRouteTask:(AGSRouteTask *)routeTask
65  routeParameters:(AGSRouteParameters *)routeParameters;
66 
75 + (nullable instancetype)reroutingParametersWithRouteTask:(AGSRouteTask *)routeTask
76  routeParameters:(AGSRouteParameters *)routeParameters;
77 
78 #pragma mark -
79 #pragma mark properties
80 
101 @property (nullable, nonatomic, strong, readwrite) AGSArcGISFeatureTable *networkEdgeGeometries;
102 
112 @property (nonatomic, strong, readonly) AGSRouteParameters *routeParameters;
113 
120 @property (nonatomic, strong, readonly) AGSRouteTask *routeTask;
121 
125 @property (nonatomic, assign, readwrite) AGSReroutingStrategy strategy;
126 
130 @property (nonatomic, assign, readwrite) BOOL visitFirstStopOnStart;
131 
132 #pragma mark -
133 #pragma mark methods
134 
135 @end
136 
137 
AGSReroutingStrategy
Definition: AGSRouteTracker.h:39
An ArcGIS specific source for dataset containing geographic features or non-spatial records.
Definition: AGSArcGISFeatureTable.h:69
Definition: AGSObject.h:28
Represents the parameters that are used to perform automatic re-routing if off-route while navigating...
Definition: AGSReroutingParameters.h:50
AGSArcGISFeatureTable * networkEdgeGeometries
Definition: AGSReroutingParameters.h:101
AGSRouteParameters * routeParameters
Definition: AGSReroutingParameters.h:112
AGSRouteTask * routeTask
Definition: AGSReroutingParameters.h:120
BOOL visitFirstStopOnStart
Definition: AGSReroutingParameters.h:130
AGSReroutingStrategy strategy
Definition: AGSReroutingParameters.h:125
Input parameters for AGSRouteTask.
Definition: AGSRouteParameters.h:49
A task to compute routes and turn-by-turn directions.
Definition: AGSRouteTask.h:49