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
18 typedef NS_ENUM(NSUInteger, TNKDriveRouteExplainType) {
19 TNKDriveRouteExplainTypeUnknown = 0,
20 TNKDriveRouteExplainTypeFerry = 1,
21 TNKDriveRouteExplainTypeAvoidCongestion = 2,
22 TNKDriveRouteExplainTypeAvoidClosingRoad = 3,
23 TNKDriveRouteExplainTypeClosingRoad = 4,
24 TNKDriveRouteExplainTypeAvoidNarrowRoad = 5,
25 TNKDriveRouteExplainTypeNarrowRoad = 6,
26 TNKDriveRouteExplainTypeAvoidMountainRoad = 7,
27 TNKDriveRouteExplainTypeMountainRoad = 8,
28 TNKDriveRouteExplainTypeLimitAtStart = 9,
29 TNKDriveRouteExplainTypeLimitAtEnd = 10,
30 TNKDriveRouteExplainTypeLimitAtStartAndEnd = 11,
31 TNKDriveRouteExplainTypeCannotAvoidLimit = 12,
32 TNKDriveRouteExplainTypeTruckLimitAtStart = 13,
33 TNKDriveRouteExplainTypeTruckLimitAtEnd = 14,
34 TNKDriveRouteExplainTypeTruckLimitAtStartAndEnd = 15,
35 TNKDriveRouteExplainTypeTruckLimitAtWaypoint = 16,
36 TNKDriveRouteExplainTypeAvoidNewClosingRoad = 17,
37 TNKDriveRouteExplainTypeAvoidLimitRoad = 18,
38 TNKDriveRouteExplainTypeAvoidProhibitedEnter = 19,
39 TNKDriveRouteExplainTypeAvoidNoTurning = 20,
40 TNKDriveRouteExplainTypeAvoidNoRightTurning = 21,
41 TNKDriveRouteExplainTypeAvoidNoLeftTurning = 22,
42 TNKDriveRouteExplainTypeAvoidNoStraightAhead = 23,
43 TNKDriveRouteExplainTypeTypeInternalRoad = 24,
44 TNKDriveRouteExplainTypeAvoidFerry = 25,
45 TNKDriveRouteExplainTypeAvoidNo_Hightway = 26,
46 TNKDriveRouteExplainTypeDestIsAboutToClose = 27,
47 TNKDriveRouteExplainTypeDestIsClose = 28,
48 TNKDriveRouteExplainTypeDestIsResting = 29,
49 TNKDriveRouteExplainTypeDestIsNotOpenToday = 30,
50 TNKDriveRouteExplainTypeDestIsAboutToOpen = 31,
51 TNKDriveRouteExplainTypeDestHasNotYetOpened = 32,
52 TNKDriveRouteExplainTypeDestHasNotYetStartBusiness = 33,
53 TNKDriveRouteExplainTypeDestHasNotYetStartWorking = 34,
54 TNKDriveRouteExplainTypeDestIsTemporarilyClosed = 35,
55 TNKDriveRouteExplainTypeDestIsTemporarilyOutOfBusiness = 36,
56 TNKDriveRouteExplainTypeDestIsTemporarilyNotWorking = 37,
57 TNKDriveRouteExplainTypeDestIsClosed = 38,
58 TNKDriveRouteExplainTypeDestIsUnderConstruction = 39,
59 TNKDriveRouteExplainTypeDestAreaIsTemporarilyOutOfBusiness = 40,
60 TNKDriveRouteExplainTypeDestAreaHasNotYetStartedBusiness = 41,
61 TNKDriveRouteExplainTypeDestAreaIsUnderConstruction = 42,
62 TNKDriveRouteExplainTypeCameraOfNew = 43,
63 TNKDriveRouteExplainTypeCameraOfViolation = 44,
64 TNKDriveRouteExplainTypePointEventAccident = 45,
65 TNKDriveRouteExplainTypePointEventControl = 46,
66 TNKDriveRouteExplainTypePointEventConstruction = 47,
67 TNKDriveRouteExplainTypePointEventObstacle = 48,
68 TNKDriveRouteExplainTypePointEventActivity = 49,
69 TNKDriveRouteExplainTypePointEventBadWeather = 50,
70 TNKDriveRouteExplainTypePointEventDisaster = 51,
71 TNKDriveRouteExplainTypePointEventCheck = 52,
72 TNKDriveRouteExplainTypePointEventWaterlogged = 53,
73 TNKDriveRouteExplainTypePointEventNotification = 54,
74 TNKDriveRouteExplainTypePassingThroughWaterloggedPoint = 55,
75 TNKDriveRouteExplainTypeTruckAvoidNoHeight = 56,
76 TNKDriveRouteExplainTypeTruckAvoidNoWidth = 57,
77 TNKDriveRouteExplainTypeTruckAvoidNoWeight = 58,
78 TNKDriveRouteExplainTypeTruckAvoidNoStraightAhead = 59,
79 TNKDriveRouteExplainTypeTruckAvoidNoRightTurning = 60,
80 TNKDriveRouteExplainTypeTruckAvoidNoLeftTurning = 61,
81 TNKDriveRouteExplainTypeTruckAvoidNoTurning = 62,
82 TNKDriveRouteExplainTypeTruckAvoidNoProhibitedEnter = 63,
83};
84
89@interface TNKDriveRouteExplain : NSObject
90
94@property (nonatomic, readonly) TNKDriveRouteExplainType type;
95
99@property (nonatomic, readonly) NSArray<TNKCoordinatePoint *> *points;
100
104@property (nonatomic, readonly) NSString *content;
105
109@property (nonatomic, readonly) int from;
110
114@property (nonatomic, readonly) int to;
115
119@property (nonatomic, readonly) NSArray<NSString *> *detail_ids;
120
121@end
122
123NS_ASSUME_NONNULL_END
NS_ENUM
NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, TNKDriveRouteExplainType)
驾车路线解释性类型.
Definition: TNKDriveRouteExplain.h:18
TNKDriveRouteExplain
驾车路线解释性类.
Definition: TNKDriveRouteExplain.h:90
TNKDriveRouteExplain::to
int to
路线解释性终止点索引
Definition: TNKDriveRouteExplain.h:114
TNKDriveRouteExplain::from
int from
路线解释性起始点索引
Definition: TNKDriveRouteExplain.h:109
TNKDriveRouteExplain::content
NSString * content
路线解释性的描述. since 5.2.4
Definition: TNKDriveRouteExplain.h:104
TNKDriveRouteExplain::detail_ids
NSArray< NSString * > * detail_ids
透出限行区域规则ID功能. since 6.10.0
Definition: TNKDriveRouteExplain.h:119
TNKDriveRouteExplain::type
TNKDriveRouteExplainType type
驾车路线解释性类型. since 5.2.4
Definition: TNKDriveRouteExplain.h:94
TNKDriveRouteExplain::points
NSArray< TNKCoordinatePoint * > * points
路线解释性的点串信息. since 5.2.4
Definition: TNKDriveRouteExplain.h:99