TencentNavKit

TNKDriveRouteExplain.h
Go to the documentation of this file.
1//
2// TNKDriveRouteExplain.h
3// TencentNavKit
4//
5// Created by mol on 2022/10/10.
6// Copyright © 2022 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <TencentNavKit/TNKCommonObj.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
14 typedef NS_ENUM(NSInteger, TNKDriveRouteExplainCategory) {
15 TNKDriveRouteExplainCategoryUnknownExplanationInfo = 0,
16 TNKDriveRouteExplainCategoryPlannedAvoidance = 1,
17 TNKDriveRouteExplainCategoryHintInfo = 2,
18 TNKDriveRouteExplainCategoryFailedToAvoid = 3,
19};
20
21
26 typedef NS_ENUM(NSUInteger, TNKDriveRouteExplainType) {
27 TNKDriveRouteExplainTypeUnknown = 0,
28 TNKDriveRouteExplainTypeFerry = 1,
29 TNKDriveRouteExplainTypeAvoidCongestion = 2,
30 TNKDriveRouteExplainTypeAvoidClosingRoad = 3,
31 TNKDriveRouteExplainTypeClosingRoad = 4,
32 TNKDriveRouteExplainTypeAvoidNarrowRoad = 5,
33 TNKDriveRouteExplainTypeNarrowRoad = 6,
34 TNKDriveRouteExplainTypeAvoidMountainRoad = 7,
35 TNKDriveRouteExplainTypeMountainRoad = 8,
36 TNKDriveRouteExplainTypeLimitAtStart = 9,
37 TNKDriveRouteExplainTypeLimitAtEnd = 10,
38 TNKDriveRouteExplainTypeLimitAtStartAndEnd = 11,
39 TNKDriveRouteExplainTypeCannotAvoidLimit = 12,
40 TNKDriveRouteExplainTypeTruckLimitAtStart = 13,
41 TNKDriveRouteExplainTypeTruckLimitAtEnd = 14,
42 TNKDriveRouteExplainTypeTruckLimitAtStartAndEnd = 15,
43 TNKDriveRouteExplainTypeTruckLimitAtWaypoint = 16,
44 TNKDriveRouteExplainTypeAvoidNewClosingRoad = 17,
45 TNKDriveRouteExplainTypeAvoidLimitRoad = 18,
46 TNKDriveRouteExplainTypeAvoidProhibitedEnter = 19,
47 TNKDriveRouteExplainTypeAvoidNoTurning = 20,
48 TNKDriveRouteExplainTypeAvoidNoRightTurning = 21,
49 TNKDriveRouteExplainTypeAvoidNoLeftTurning = 22,
50 TNKDriveRouteExplainTypeAvoidNoStraightAhead = 23,
51 TNKDriveRouteExplainTypeTypeInternalRoad = 24,
52 TNKDriveRouteExplainTypeAvoidFerry = 25,
53 TNKDriveRouteExplainTypeAvoidNo_Hightway = 26,
54 TNKDriveRouteExplainTypeDestIsAboutToClose = 27,
55 TNKDriveRouteExplainTypeDestIsClose = 28,
56 TNKDriveRouteExplainTypeDestIsResting = 29,
57 TNKDriveRouteExplainTypeDestIsNotOpenToday = 30,
58 TNKDriveRouteExplainTypeDestIsAboutToOpen = 31,
59 TNKDriveRouteExplainTypeDestHasNotYetOpened = 32,
60 TNKDriveRouteExplainTypeDestHasNotYetStartBusiness = 33,
61 TNKDriveRouteExplainTypeDestHasNotYetStartWorking = 34,
62 TNKDriveRouteExplainTypeDestIsTemporarilyClosed = 35,
63 TNKDriveRouteExplainTypeDestIsTemporarilyOutOfBusiness = 36,
64 TNKDriveRouteExplainTypeDestIsTemporarilyNotWorking = 37,
65 TNKDriveRouteExplainTypeDestIsClosed = 38,
66 TNKDriveRouteExplainTypeDestIsUnderConstruction = 39,
67 TNKDriveRouteExplainTypeDestAreaIsTemporarilyOutOfBusiness = 40,
68 TNKDriveRouteExplainTypeDestAreaHasNotYetStartedBusiness = 41,
69 TNKDriveRouteExplainTypeDestAreaIsUnderConstruction = 42,
70 TNKDriveRouteExplainTypeCameraOfNew = 43,
71 TNKDriveRouteExplainTypeCameraOfViolation = 44,
72 TNKDriveRouteExplainTypePointEventAccident = 45,
73 TNKDriveRouteExplainTypePointEventControl = 46,
74 TNKDriveRouteExplainTypePointEventConstruction = 47,
75 TNKDriveRouteExplainTypePointEventObstacle = 48,
76 TNKDriveRouteExplainTypePointEventActivity = 49,
77 TNKDriveRouteExplainTypePointEventBadWeather = 50,
78 TNKDriveRouteExplainTypePointEventDisaster = 51,
79 TNKDriveRouteExplainTypePointEventCheck = 52,
80 TNKDriveRouteExplainTypePointEventWaterlogged = 53,
81 TNKDriveRouteExplainTypePointEventNotification = 54,
82 TNKDriveRouteExplainTypePassingThroughWaterloggedPoint = 55,
83 TNKDriveRouteExplainTypeTruckAvoidNoHeight = 56,
84 TNKDriveRouteExplainTypeTruckAvoidNoWidth = 57,
85 TNKDriveRouteExplainTypeTruckAvoidNoWeight = 58,
86 TNKDriveRouteExplainTypeTruckAvoidNoStraightAhead = 59,
87 TNKDriveRouteExplainTypeTruckAvoidNoRightTurning = 60,
88 TNKDriveRouteExplainTypeTruckAvoidNoLeftTurning = 61,
89 TNKDriveRouteExplainTypeTruckAvoidNoTurning = 62,
90 TNKDriveRouteExplainTypeTruckAvoidNoProhibitedEnter = 63,
91};
92
93
94
99@interface TNKDriveRouteExplain : NSObject
100
104@property (nonatomic, readonly) TNKDriveRouteExplainType type;
105
109@property (nonatomic, readonly) NSArray<TNKCoordinatePoint *> *points;
110
114@property (nonatomic, readonly) NSString *content;
115
119@property (nonatomic, readonly) int from;
120
124@property (nonatomic, readonly) int to;
125
129@property (nonatomic, readonly) NSArray<NSString *> *detail_ids;
130
131@property (nonatomic, assign) TNKDriveRouteExplainCategory category;
132
133@property (nonatomic, copy) NSString* title;
134
135
136
137@end
138
139NS_ASSUME_NONNULL_END
NS_ENUM
NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger, TNKDriveRouteExplainCategory)
Definition: TNKDriveRouteExplain.h:14
TNKDriveRouteExplain
驾车路线解释性类.
Definition: TNKDriveRouteExplain.h:100
TNKDriveRouteExplain::category
TNKDriveRouteExplainCategory category
Definition: TNKDriveRouteExplain.h:131
TNKDriveRouteExplain::to
int to
路线解释性终止点索引
Definition: TNKDriveRouteExplain.h:124
TNKDriveRouteExplain::from
int from
路线解释性起始点索引
Definition: TNKDriveRouteExplain.h:119
TNKDriveRouteExplain::content
NSString * content
路线解释性的描述. since 5.2.4
Definition: TNKDriveRouteExplain.h:114
TNKDriveRouteExplain::detail_ids
NSArray< NSString * > * detail_ids
透出限行区域规则ID功能. since 6.10.0
Definition: TNKDriveRouteExplain.h:129
TNKDriveRouteExplain::type
TNKDriveRouteExplainType type
驾车路线解释性类型. since 5.2.4
Definition: TNKDriveRouteExplain.h:104
TNKDriveRouteExplain::points
NSArray< TNKCoordinatePoint * > * points
路线解释性的点串信息. since 5.2.4
Definition: TNKDriveRouteExplain.h:109
TNKDriveRouteExplain::title
NSString * title
Definition: TNKDriveRouteExplain.h:133