ArcGIS Runtime SDK for iOS: AGSDirectionMessage.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSDirectionMessage.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 
30 
31 
45 typedef NS_ENUM(NSInteger, AGSDirectionMessageType) {
46  AGSDirectionMessageTypeLength ("AGSDirectionMessageTypeLength is no longer supported, use AGSDirectionManeuver.length instead") = 0,
47  AGSDirectionMessageTypeTime ("AGSDirectionMessageTypeTime is no longer supported, use AGSDirectionManeuver.duration instead") = 1,
48  AGSDirectionMessageTypeSummary ("AGSDirectionMessageTypeSummary is no longer supported, use AGSDirectionManeuver.duration and AGSDirectionManeuver.length instead") = 2,
49  AGSDirectionMessageTypeTimeWindow ("AGSDirectionMessageTypeTimeWindow is no longer supported, use AGSStop.timeWindowStart and AGSStop.timeWindowEnd instead") = 3,
50  AGSDirectionMessageTypeViolationTime ("AGSDirectionMessageTypeViolationTime is no longer supported, use AGSStop.violationTime instead") = 4,
51  AGSDirectionMessageTypeWaitTime ("AGSDirectionMessageTypeWaitTime is no longer supported, use AGSStop.waitTime instead") = 5,
52  AGSDirectionMessageTypeServiceTime ("AGSDirectionMessageTypeServiceTime is no longer supported, use the difference between AGSDirectionManeuver.duration and AGSStop.waitTime instead") = 6,
53  AGSDirectionMessageTypeEstimatedArrivalTime ("AGSDirectionMessageTypeEstimatedArrivalTime is no longer supported, use AGSDirectionManeuver.estimatedArriveTime instead") = 7,
54  AGSDirectionMessageTypeCumulativeLength ("AGSDirectionMessageTypeCumulativeLength is no longer supported, use the sum of previous AGSDirectionManeuver.length instead") = 8,
61 };
62 
70 
71 #pragma mark -
72 #pragma mark initializers
73 
74 
75 
76 #pragma mark -
77 #pragma mark properties
78 
82 @property (nonatomic, assign, readonly) AGSDirectionMessageType type;
83 
87 @property (nonatomic, copy, readonly) NSString *text;
88 
89 @end
90 
91 
AGSDirectionMessageType
Definition: AGSDirectionMessage.h:45
@ AGSDirectionMessageTypeAlternativeName
Definition: AGSDirectionMessage.h:56
@ AGSDirectionMessageTypeServiceTime
Definition: AGSDirectionMessage.h:52
@ AGSDirectionMessageTypeStreetName
Definition: AGSDirectionMessage.h:55
@ AGSDirectionMessageTypeSummary
Definition: AGSDirectionMessage.h:48
@ AGSDirectionMessageTypeWaitTime
Definition: AGSDirectionMessage.h:51
@ AGSDirectionMessageTypeBranch
Definition: AGSDirectionMessage.h:57
@ AGSDirectionMessageTypeLength
Definition: AGSDirectionMessage.h:46
@ AGSDirectionMessageTypeCrossStreet
Definition: AGSDirectionMessage.h:59
@ AGSDirectionMessageTypeToward
Definition: AGSDirectionMessage.h:58
@ AGSDirectionMessageTypeEstimatedArrivalTime
Definition: AGSDirectionMessage.h:53
@ AGSDirectionMessageTypeTimeWindow
Definition: AGSDirectionMessage.h:49
@ AGSDirectionMessageTypeViolationTime
Definition: AGSDirectionMessage.h:50
@ AGSDirectionMessageTypeTime
Definition: AGSDirectionMessage.h:47
@ AGSDirectionMessageTypeCumulativeLength
Definition: AGSDirectionMessage.h:54
@ AGSDirectionMessageTypeExit
Definition: AGSDirectionMessage.h:60
A message describing AGSDirectionManeuver.
Definition: AGSDirectionMessage.h:70
NSString * text
Definition: AGSDirectionMessage.h:87
AGSDirectionMessageType type
Definition: AGSDirectionMessage.h:82
Definition: AGSObject.h:28