TencentNavKit

TNKDriveCommonObj.h
Go to the documentation of this file.
1//
2// TNKDriveCommonObj.h
3// TencentNavKit
4//
5// Created by mol on 2022/7/26.
6// Copyright © 2022 Tencent. All rights reserved.
7//
8
9#import <TencentNavKit/TNKCommonObj.h>
10#import <TencentNavKit/TNKDriveRouteExplain.h>
11#import <TencentNavKit/TNKRouteTrafficItem.h>
12#import <TencentNavKit/TNKSegmentItem.h>
13#import <TencentNavKit/TNKLocation.h>
14
15NS_ASSUME_NONNULL_BEGIN
16
17@class TNKTruckSearchOption;
18@class TNKMotoSearchOption;
19@class TNKForkPoint;
20@class TNKNavToWayPointInfo;
21@class TencentLBSLocation;
22@class TNKTruckRestrictionItem;
23@class TNKTurnRestrictionItem;
24@class TNKCustomRouteReason;
25
29extern NSString * const TNKDriveRouteSearchErrorDomain;
30
31 typedef enum _TNKDriveRouteSearchErrorCode
32{
33 TNKDriveRouteSearchErrorCode_NetworkError = 1001,
34 TNKDriveRouteSearchErrorCode_NoNetwork = 1002,
35 TNKDriveRouteSearchErrorCode_RequestTimeOut = 1003,
36 TNKDriveRouteSearchErrorCode_DataInvalid = 2001,
37 TNKDriveRouteSearchErrorCode_StartDestPointError = 2002,
38 TNKDriveRouteSearchErrorCode_WayPointError = 2003,
39 TNKDriveRouteSearchErrorCode_AdsorptionFailed = 2004,
40 TNKDriveRouteSearchErrorCode_CalculateFailed = 2005,
41 TNKDriveRouteSearchErrorCode_InvalidKeyError = 2006,
42 TNKDriveRouteSearchErrorCode_NavigationParaInvalid = 2007,
43 TNKDriveRouteSearchErrorCode_ChangeRouteByRouteIDFailed = 2008,
44 TNKDriveRouteSearchErrorCode_Privacy_Failed = 2009,
45 TNKDriveRouteSearchErrorCode_ServerError = 2999
46} TNKDriveRouteSearchErrorCode;
47
48 typedef enum _TNKRoadType
49{
50 TNKRoadType_None = 0,
51 TNKRoadType_Elevated = 1,
52 TNKRoadType_Downstairs = 2,
53 TNKRoadType_MainRoad = 3,
54 TNKRoadType_ServingRoad = 4,
55 TNKRoadType_DirectionRoad = 5,
56 TNKRoadType_DownstairsMainRoad = 6,
57 TNKRoadType_DownstairsServingRoad = 7,
58} TNKRoadType;
59
60 typedef enum _TNKCameraType
61{
62 TNKCameraTypeNone = 0,
63 TNKCameraTypeRedLight = 1,
64 TNKCameraTypeElectronicMonitoring = 2,
65 TNKCameraTypeFixedSpeedTraps = 3,
66 TNKCameraTypeMobileSpeedZone = 4,
67 TNKCameraTypeBusOnlyWay = 5,
68 TNKCameraTypeOneWay = 6,
69 TNKCameraTypeEmergencyWay = 7,
70 TNKCameraTypeNoneMotorWay = 8,
71 TNKCameraTypeQujianEnter = 9,
72 TNKCameraTypeQujianExit = 10,
73 TNKCameraTypeHOV = 16,
74 TNKCameraTypeLaLian = 17,
75 TNKCameraTypeTailNumber = 21,
76 TNKCameraTypeGoToBeijing = 22,
77 TNKCameraTypeIllegalBlow = 23,
78 TNKCameraTypeBusStation = 24,
79 TNKCameraTypeForbiddenTure = 30,
80 TNKCameraTypeForbiddenLine = 31,
81 TNKCameraTypeForbiddenParking = 32,
82 TNKCameraTypeLowestSpeed = 33,
83 TNKCameraTypeAlterableSpeed = 34,
84 TNKCameraTypeLaneSpeed = 35,
85 TNKCameraTypeVehicelTypeSpeed = 36,
86 TNKCameraTypeLaneOccupy = 37,
87 TNKCameraTypeCrossing = 38,
88 TNKCameraTypeForbiddenSign = 39,
89 TNKCameraTypeForbiddenLight = 40,
90 TNKCameraTypeLifeBelt = 41,
91 TNKCameraTypeForbiddenCall = 42,
92 TNKCameraTypeLimitLine = 43,
93 TNKCameraTypePedestrainFirst = 44,
94 TNKCameraTypeAnnualInpection = 45,
95 TNKCameraTypeVehicelExhaust = 46,
96 TNKCameraTypeTraffic = 47,
97 TNKCameraTypeEntrance = 48,
98 TNKCameraTypeForbiddenUTurn = 49,
99 TNKCameraTypeEtcToll = 50,
100 TNKCameraTypeNotFollowGuideLane = 51,
101 TNKCameraTypeTrafficFlowMonitor = 52,
102 TNKCameraTypeKeepSafeDistance = 53,
103 TNKCameraTypeIllegalChangeLane = 54
104} TNKCameraType;
105
106
107 typedef enum _TNKTurnRestrictionType
108{
109 TNKTurnRestrictionTypeNone = 0,
110 TNKTurnRestrictionTypeLeft = 1,
111 TNKTurnRestrictionTypeRight = 2,
112 TNKTurnRestrictionTypeLeftUTurn = 3,
113 TNKTurnRestrictionTypeRightUTurn = 4,
114 TNKTurnRestrictionTypeStraight = 5,
115} TNKTurnRestrictionType;
116
117
118 typedef enum _TNKTrafficLightType
119{
120 TNKTrafficLightTypeNone = -1,
121 TNKTrafficLightTypeRed = 0,
122 TNKTrafficLightTypeGreen = 1,
123 TNKTrafficLightTypeYellow = 2,
124} TNKTrafficLightType;
125
127 typedef NS_OPTIONS(NSUInteger, TNKDriveLimitStatus) {
128 TNKDriveLimitStatusNone = 0,
129 TNKDriveLimitStatusAvoided = 1 << 0,
130 TNKDriveLimitStatusLimitAtStart = 1 << 1,
131 TNKDriveLimitStatusLimitAtEnd = 1 << 2,
132 TNKDriveLimitStatusThrough = 1 << 3,
133 TNKDriveLimitStatusCanAvoid = 1 << 4,
134};
135
136 typedef enum _TNKSliceType
137{
138 TNKSliceTypeNone = 0,
139 TNKSliceTypeTwo = 1,
140 TNKSliceTypeThree = 2,
141 TNKSliceTypeAuto = 9,
142} TNKSliceType;
143
144
145 typedef enum _TNKEnergyType
146{
147 TNKEnergyTypeUnknown = 0,
148 TNKEnergyTypeDiesel,
149 TNKEnergyTypeHybird,
150 TNKEnergyTypeElectric,
151 TNKEnergyTypeGas,
152} TNKEnergyType;
153
158 typedef enum _TNKLocationSourceType {
159 lowConf = 0,
160 gps = 3,
161 network = 10,
162 gpsDerived = 12,
163} TNKLocationSourceType;
164
165/*------------------------------------导航过程------------------------------------*/
166
170@interface TNKNavStartFailInfo : NSObject
171
175@property (nonatomic, assign) int code;
176
180@property (nonatomic, copy) NSString *msg;
181
185@property (nonatomic, copy) NSString *routeID;
186
187@end
188 typedef enum _TNKRoadMatchStatus
189{
190 TNKRoadMatchStatusNull = -1,
191 TNKRoadMatchStatusOffRoute = 0,
192 TNKRoadMatchStatusOnRoute = 1,
193} TNKRoadMatchStatus;
194
195
196
200@interface TNKDriveRouteSearchOption : NSObject<NSCopying>
201
205@property (nonatomic, assign) BOOL avoidToll;
206
210@property (nonatomic, assign) BOOL avoidHighway;
211
215@property (nonatomic, assign) BOOL avoidTrafficJam;
216
220@property (nonatomic, assign) BOOL highway;
221
225@property (nonatomic, assign) BOOL shortTime;
226
230@property (nonatomic, assign) BOOL isShortDistance;
231
235@property (nonatomic, assign) BOOL bigRoad;
236
240@property (nonatomic, assign) TNKRoadType startRoadType;
241
245@property (nonatomic, copy, nullable) NSString *carNumber;
246
251@property (nonatomic, assign) BOOL greenCar;
252
256@property (nonatomic, assign) TNKEnergyType carEnergyType;
257
262@property (nonatomic, assign) BOOL searchMultiRoutes;
263
267@property (nonatomic, copy, nullable) NSArray<TencentLBSLocation *> *preLocations;
268
272@property (nonatomic, copy, nullable) NSArray<TencentLBSLocation *> *routePointsLocations;
273
278@property (nonatomic, assign) BOOL routePointsIsSearch;
279
284@property (nonatomic, assign) BOOL routePointsIsReRouteSearch;
285
290@property (nonatomic, assign) BOOL avoidLimit;
291
296@property (nonatomic, assign) TNKSliceType sliceType;
297
298
299/*------------------------------------货车导航参数------------------------------------*/
300
304@property (nonatomic, copy, nullable) TNKTruckSearchOption *truckSearchOption;
305
306
307/*------------------------------------摩托车导航参数------------------------------------*/
308
312@property (nonatomic, copy, nullable) TNKMotoSearchOption *motoSearchOption;
313
314/*------------------------------------出行场景参数------------------------------------*/
315
316
320@property (nonatomic, assign) int orderSource;
321
325@property (nonatomic, assign) int navScene;
326
330@property (nonatomic, copy, nullable) NSString *userID;
331
335@property (nonatomic, copy, nullable) NSString *initialRouteID;
336
340@property (nonatomic, copy, nullable) NSString *initialRequestID;
341
342@end
343
347@interface TNKDriveRouteRequest: TNKRouteRequest
348
352@property (nonatomic, copy, nullable) NSArray<TNKSearchNavPoint *> *waypoints;
353
357@property (nonatomic, copy) TNKDriveRouteSearchOption *searchOption;
358
366- (int)setAvoidAreas:(NSArray<NSArray<TNKCoordinatePoint *> *> *)avoidAreas;
367
368@end
369
373@interface TNKDriveRoute : NSObject
374
378@property (nonatomic, readonly) NSString *recommendReason;
379
383@property (nonatomic, readonly) NSArray<TNKCoordinatePoint *> *routePoints;
384
388@property (nonatomic, readonly) NSString *routeID;
389
393@property (nonatomic, readonly) int totalDistance;
394
398@property (nonatomic, readonly) int totalTime;
399
403@property (nonatomic, readonly) int trafficLightCount;
404
408@property (nonatomic, readonly) int fee;
409
414@property (nonatomic, readonly) int tollDistance;
415
419@property (nonatomic, readonly) TNKSearchNavPoint *origin;
420
424@property (nonatomic, readonly) TNKSearchNavPoint *destination;
425
429@property (nonatomic, readonly, nullable) NSArray<TNKNavToWayPointInfo *> *waypoints;
430
434@property (nonatomic, readonly) NSArray <TNKRouteTrafficItem *> *routeTrafficItems;
435
439@property (nonatomic, readonly) NSArray <TNKSegmentItem *> *segmentItems;
440
444@property (nonatomic, readonly, nullable) NSArray <TNKDriveRouteExplain *> *routeExplainItems;
445
450@property (nonatomic, readonly, nullable) NSArray <TNKRoutePoint *> *trafficLights;
451
455@property (nonatomic, readonly, nullable) NSArray<TNKForkPoint *> *forkPoints;
456
461@property (nonatomic, readonly) int bkRecommendType;
462
467@property (nonatomic, readonly) NSArray<TNKTurnRestrictionItem *> *turnRestrictionItems;
468
473@property (nonatomic, readonly) NSArray<TNKTruckRestrictionItem *> *truckRestrictionItems;
474
479@property (nonatomic, readonly, nullable) NSArray<NSNumber *> *customTags;
480
485@property (nonatomic, readonly) TNKDriveLimitStatus limitStatus;
486
491@property (nonatomic, readonly) NSString *experienceRouteID;
492
493@end
494
498@interface TNKDriveRouteSearchResult : NSObject
499
503@property (nonatomic, readonly) NSArray<TNKDriveRoute *> *routes;
504
508@property (nonatomic, readonly) BOOL isSearchByRouteIDWorking;
509
513@property (nonatomic, readonly) BOOL hitEndAdsorbExtStrategy;
514
519@property (nonatomic, readonly) NSString *naviSessionID;
520
521
523@property (nonatomic, readonly, nullable) TNKCustomRouteReason *customRouteReason;
524
525@end
526
527
528 typedef enum _TNKTruckType
529{
530 TNKTruckTypeMiniTruck = 1,
531 TNKTruckTypeLightTruck = 2,
532 TNKTruckTypeMediumTruck = 3,
533 TNKTruckTypeHeavyTruck = 4,
534} TNKTruckType;
535
536
537 typedef enum _TNKTruckTrailerType
538{
539 TNKTruckTrailerTypeUnknown = 0,
540 TNKTruckTrailerTypeFlatbed,
541 TNKTruckTrailerTypeContainer,
542 TNKTruckTrailerTypeSemi,
543 TNKTruckTrailerTypeFull,
544} TNKTruckTrailerType;
545
546 typedef enum _TNKTruckPlateColor
547{
548 TNKTruckPlateColorUnknown = 0,
549 TNKTruckPlateColorBlue,
550 TNKTruckPlateColorYellow,
551 TNKTruckPlateColorBlack,
552 TNKTruckPlateColorWhite,
553 TNKTruckPlateColorGreen,
554 TNKTruckPlateColorYellowGreen,
555} TNKTruckPlateColor;
556
557
558 typedef enum _TNKTruckFunctionType
559{
560 TNKTruckFunctionTypeNormal = 0,
561 TNKTruckFunctionTypeDanger,
562} TNKTruckFunctionType;
563
564 typedef enum _TNKEmissionStandard
565{
566 TNKEmissionStandardUnknown = 0,
567 TNKEmissionStandardI,
568 TNKEmissionStandardII,
569 TNKEmissionStandardIII,
570 TNKEmissionStandardIV,
571 TNKEmissionStandardV,
572 TNKEmissionStandardVI,
573} TNKEmissionStandard;
574
575 typedef enum _TNKTruckPassType
576{
577 TNKTruckPassTypeNoNeed,
578 TNKTruckPassTypeHave,
579 TNKTruckPassTypeNotHave,
580 TNKTruckPassTypeApproval,
581} TNKTruckPassType;
582
583
584 typedef enum _TNKTruckRestrictionType
585{
586 TNKTruckRestrictionTypeNone = 0,
587 TNKTruckRestrictionTypeWidth = 1,
588 TNKTruckRestrictionTypeHeight = 2,
589 TNKTruckRestrictionTypeLength = 3,
590 TNKTruckRestrictionTypeWeight = 4,
591 TNKTruckRestrictionTypeDanger = 5,
592} TNKTruckRestrictionType;
593
598@interface TNKTruckSearchOption : NSObject<NSCopying>
599
603@property (nonatomic, assign) TNKTruckType truckType;
604
608@property (nonatomic, assign) float length;
609
613@property (nonatomic, assign) float width;
614
618@property (nonatomic, assign) float height;
619
623@property (nonatomic, assign) float weight;
624
628@property (nonatomic, assign) float load;
629
633@property (nonatomic, assign) int axisCount;
634
638@property (nonatomic, assign) float axisLoad;
639
643@property (nonatomic, assign) TNKTruckTrailerType trailerType;
644
648@property (nonatomic, assign) TNKTruckPlateColor plateColor;
649
653@property (nonatomic, assign) TNKEnergyType energyType;
654
658@property (nonatomic, assign) TNKTruckFunctionType functionType;
659
663@property (nonatomic, assign) TNKEmissionStandard emissionStandard;
664
668@property (nonatomic, assign) TNKTruckPassType passType;
669
673@property (nonatomic, assign) BOOL willIgnoreWeight;
674
675
680@property (nonatomic, assign) BOOL needExperienceRoute;
681
682@end
683
688@interface TNKMotoSearchOption : NSObject<NSCopying>
689
693@property (nonatomic, assign) TNKEnergyType energyType;
694
698@property (nonatomic, assign) int engineDisplacement;
699
700@end
701
706@interface TNKForkPoint : NSObject
707
711@property (nonatomic, readonly) CLLocationCoordinate2D coord;
715@property (nonatomic, readonly) int pointIndex;
719@property (nonatomic, readonly) NSString *forkRouteID;
720
721@end
722
723
727@interface TNKDriveNavRoute : NSObject
728
729- (instancetype)init NS_UNAVAILABLE;
730
732- (instancetype)initWithSearchRoute:(TNKDriveRoute *)searchRoute;
733
737@property (nonatomic, readonly) TNKDriveRoute *searchRoute;
738
742@property (nonatomic, readonly) int remainingDistance;
743
747@property (nonatomic, readonly) int remainingTime;
748
752@property (nonatomic, readonly) int remainingTimeInSeconds;
753
757@property (nonatomic, readonly) NSArray<TNKRouteTrafficItem *> *curTrafficItems;
758
762@property (nonatomic, readonly, nullable) TNKLocation *location;
763
767@property (nonatomic, readonly) int distBetweenOrginAndRouteFistPoint;
768
769@end
770
774@interface TNKNavCameraInfo : NSObject
775
779@property (nonatomic, assign) TNKCameraType type;
780
784@property (nonatomic, strong) TNKRoutePoint *routePoint;
785
789@property (nonatomic, assign) int distance;
790
794@property (nonatomic, assign) int limitSpeed;
795
799@property (nonatomic, assign) int speedZoneLimitLength;
800
801@end
802
806@interface TNKRestrictionItem : NSObject
807
811@property (nonatomic, readonly) TNKRoutePoint *routePoint;
812
816@property (nonatomic, readonly) NSString *roadName;
817
818@end
819
823@interface TNKTruckRestrictionItem : TNKRestrictionItem
824
828@property (nonatomic, readonly) TNKTruckRestrictionType type;
829
833@property (nonatomic, readonly) float limitWidth;
834
838@property (nonatomic, readonly) float limitHeight;
839
843@property (nonatomic, readonly) float limitLength;
844
848@property (nonatomic, readonly) float limitWeight;
849
850@end
851
855@interface TNKTurnRestrictionItem : TNKRestrictionItem
856
860@property (nonatomic, readonly) TNKTurnRestrictionType type;
861
865@property (nonatomic, readonly) BOOL always;
866
870@property (nonatomic, readonly) NSString *timeDesc;
871
875@property (nonatomic, readonly) int limitCarType;
876
877@end
878
882@interface TNKNavRestrictionItem : NSObject
883
887@property (nonatomic, strong, readonly) TNKRestrictionItem *restrictionItem;
888
892@property (nonatomic, readonly) int distance;
893
894@end
895
899@interface TNKTruckNavRestrictionItem : TNKNavRestrictionItem
900
904@property (nonatomic, strong, readonly) TNKTruckRestrictionItem *truckRestrictionItem;
905
906@end
907
911@interface TNKTurnNavRestrictionItem : TNKNavRestrictionItem
912
916@property (nonatomic, strong, readonly) TNKTurnRestrictionItem *turnRestrictionItem;
917
918@end
919
923@interface TNKNavRestrictionInfo : NSObject
924
928@property (nonatomic, readonly) NSArray<TNKTruckNavRestrictionItem *> *truckNavRestrictionItems;
929
933@property (nonatomic, readonly) NSArray<TNKTurnNavRestrictionItem *> *turnNavRestrictionItems;
934
935@end
936
937
941@interface TNKRouteFilterLink : NSObject
942
944@property (nonatomic, readonly) NSString *linkID;
945
947@property (nonatomic, readonly) int filterType;
948
950@property (nonatomic, readonly) CLLocationCoordinate2D coord;
951
952@end
953
954
955@interface TNKCustomRouteReason : NSObject
956
960@property (nonatomic, readonly) NSArray<TNKRouteFilterLink *> *filterLinks;
961
965@property (nonatomic, readonly) int customerState;
966
967@end
968
970@interface TNKTrafficLightCountdownMsg : NSObject
971
973@property (nonatomic, readonly) TNKRoutePoint *routePoint;
975@property (nonatomic, readonly) TNKTrafficLightType trafficLightType;
977@property (nonatomic, readonly) int endTimestamp;
979@property (nonatomic, readonly) TNKTrafficLightType nextTrafficLightType;
981@property (nonatomic, readonly) int nextEndTimestamp;
982
983@end
984
985
989@interface TNKNavRoadMatchResult : NSObject
990
994@property (nonatomic, readonly) TNKRoadMatchStatus roadMatchStatus;
995
999@property (nonatomic, readonly) CLLocation *mactchLocation;
1000
1004@property (nonatomic, readonly) TNKRoadGrade roadGrade;
1005
1009@property (nonatomic, readonly) TNKRoadKind roadKind;
1010
1014@property (nonatomic, readonly) double roadDir;
1015
1016@end
1017
1021@interface TNKPosMatchLocation: NSObject
1022
1026@property (nonatomic, readonly) TencentLBSLocation *origLocation;
1027
1031@property (nonatomic, readonly) TNKNavRoadMatchResult *roadMatchResult;
1032
1033
1034@end
1035
1036
1037NS_ASSUME_NONNULL_END
_TNKSliceType
_TNKSliceType
Definition: TNKDriveCommonObj.h:137
TNKSliceTypeAuto
@ TNKSliceTypeAuto
自动
Definition: TNKDriveCommonObj.h:141
TNKSliceTypeThree
@ TNKSliceTypeThree
三段
Definition: TNKDriveCommonObj.h:140
TNKSliceTypeNone
@ TNKSliceTypeNone
不分片
Definition: TNKDriveCommonObj.h:138
TNKSliceTypeTwo
@ TNKSliceTypeTwo
两段
Definition: TNKDriveCommonObj.h:139
_TNKLocationSourceType
_TNKLocationSourceType
Definition: TNKDriveCommonObj.h:158
lowConf
@ lowConf
Definition: TNKDriveCommonObj.h:159
gpsDerived
@ gpsDerived
网络点
Definition: TNKDriveCommonObj.h:162
network
@ network
GPS.
Definition: TNKDriveCommonObj.h:161
gps
@ gps
不可信点（默认）
Definition: TNKDriveCommonObj.h:160
_TNKTruckType
_TNKTruckType
Definition: TNKDriveCommonObj.h:529
TNKTruckTypeMiniTruck
@ TNKTruckTypeMiniTruck
微型车
Definition: TNKDriveCommonObj.h:530
TNKTruckTypeMediumTruck
@ TNKTruckTypeMediumTruck
中型车
Definition: TNKDriveCommonObj.h:532
TNKTruckTypeHeavyTruck
@ TNKTruckTypeHeavyTruck
重型车
Definition: TNKDriveCommonObj.h:533
TNKTruckTypeLightTruck
@ TNKTruckTypeLightTruck
轻型车 （默认）
Definition: TNKDriveCommonObj.h:531
_TNKTruckPassType
_TNKTruckPassType
Definition: TNKDriveCommonObj.h:576
TNKTruckPassTypeNotHave
@ TNKTruckPassTypeNotHave
无通行证
Definition: TNKDriveCommonObj.h:579
TNKTruckPassTypeApproval
@ TNKTruckPassTypeApproval
预约通行证
Definition: TNKDriveCommonObj.h:580
TNKTruckPassTypeNoNeed
@ TNKTruckPassTypeNoNeed
不需要
Definition: TNKDriveCommonObj.h:577
TNKTruckPassTypeHave
@ TNKTruckPassTypeHave
有通行证
Definition: TNKDriveCommonObj.h:578
TNKDriveRouteSearchErrorCode
enum _TNKDriveRouteSearchErrorCode TNKDriveRouteSearchErrorCode
路线规划的错误码
_TNKTruckFunctionType
_TNKTruckFunctionType
Definition: TNKDriveCommonObj.h:559
TNKTruckFunctionTypeDanger
@ TNKTruckFunctionTypeDanger
危险品
Definition: TNKDriveCommonObj.h:561
TNKTruckFunctionTypeNormal
@ TNKTruckFunctionTypeNormal
常规
Definition: TNKDriveCommonObj.h:560
TNKRoadMatchStatus
enum _TNKRoadMatchStatus TNKRoadMatchStatus
道路吸附结果
_TNKRoadType
_TNKRoadType
Definition: TNKDriveCommonObj.h:49
TNKRoadType_None
@ TNKRoadType_None
无详细类型
Definition: TNKDriveCommonObj.h:50
TNKRoadType_ServingRoad
@ TNKRoadType_ServingRoad
在辅路
Definition: TNKDriveCommonObj.h:54
TNKRoadType_DownstairsMainRoad
@ TNKRoadType_DownstairsMainRoad
在桥下主路
Definition: TNKDriveCommonObj.h:56
TNKRoadType_Elevated
@ TNKRoadType_Elevated
在桥上
Definition: TNKDriveCommonObj.h:51
TNKRoadType_DownstairsServingRoad
@ TNKRoadType_DownstairsServingRoad
在桥下辅路
Definition: TNKDriveCommonObj.h:57
TNKRoadType_MainRoad
@ TNKRoadType_MainRoad
在主路
Definition: TNKDriveCommonObj.h:53
TNKRoadType_DirectionRoad
@ TNKRoadType_DirectionRoad
在对面，初始算路无效
Definition: TNKDriveCommonObj.h:55
TNKRoadType_Downstairs
@ TNKRoadType_Downstairs
在桥下
Definition: TNKDriveCommonObj.h:52
_TNKDriveRouteSearchErrorCode
_TNKDriveRouteSearchErrorCode
Definition: TNKDriveCommonObj.h:32
TNKDriveRouteSearchErrorCode_NoNetwork
@ TNKDriveRouteSearchErrorCode_NoNetwork
手机无网络
Definition: TNKDriveCommonObj.h:34
TNKDriveRouteSearchErrorCode_RequestTimeOut
@ TNKDriveRouteSearchErrorCode_RequestTimeOut
请求超时
Definition: TNKDriveCommonObj.h:35
TNKDriveRouteSearchErrorCode_DataInvalid
@ TNKDriveRouteSearchErrorCode_DataInvalid
返回数据无效
Definition: TNKDriveCommonObj.h:36
TNKDriveRouteSearchErrorCode_CalculateFailed
@ TNKDriveRouteSearchErrorCode_CalculateFailed
算路失败
Definition: TNKDriveCommonObj.h:40
TNKDriveRouteSearchErrorCode_ServerError
@ TNKDriveRouteSearchErrorCode_ServerError
服务器内部错误
Definition: TNKDriveCommonObj.h:45
TNKDriveRouteSearchErrorCode_WayPointError
@ TNKDriveRouteSearchErrorCode_WayPointError
途经点参数错误
Definition: TNKDriveCommonObj.h:38
TNKDriveRouteSearchErrorCode_Privacy_Failed
@ TNKDriveRouteSearchErrorCode_Privacy_Failed
尚未同意隐私协议
Definition: TNKDriveCommonObj.h:44
TNKDriveRouteSearchErrorCode_NavigationParaInvalid
@ TNKDriveRouteSearchErrorCode_NavigationParaInvalid
点串导航时参数不合法
Definition: TNKDriveCommonObj.h:42
TNKDriveRouteSearchErrorCode_NetworkError
@ TNKDriveRouteSearchErrorCode_NetworkError
网络错误
Definition: TNKDriveCommonObj.h:33
TNKDriveRouteSearchErrorCode_AdsorptionFailed
@ TNKDriveRouteSearchErrorCode_AdsorptionFailed
吸附失败
Definition: TNKDriveCommonObj.h:39
TNKDriveRouteSearchErrorCode_StartDestPointError
@ TNKDriveRouteSearchErrorCode_StartDestPointError
起终点参数错误
Definition: TNKDriveCommonObj.h:37
TNKDriveRouteSearchErrorCode_InvalidKeyError
@ TNKDriveRouteSearchErrorCode_InvalidKeyError
鉴权失败
Definition: TNKDriveCommonObj.h:41
TNKDriveRouteSearchErrorCode_ChangeRouteByRouteIDFailed
@ TNKDriveRouteSearchErrorCode_ChangeRouteByRouteIDFailed
乘客选路失败
Definition: TNKDriveCommonObj.h:43
TNKTruckType
enum _TNKTruckType TNKTruckType
货车类型
TNKTruckPassType
enum _TNKTruckPassType TNKTruckPassType
通行证类型
_TNKTrafficLightType
_TNKTrafficLightType
Definition: TNKDriveCommonObj.h:119
TNKTrafficLightTypeNone
@ TNKTrafficLightTypeNone
无效灯态
Definition: TNKDriveCommonObj.h:120
TNKTrafficLightTypeYellow
@ TNKTrafficLightTypeYellow
黄灯
Definition: TNKDriveCommonObj.h:123
TNKTrafficLightTypeGreen
@ TNKTrafficLightTypeGreen
绿灯
Definition: TNKDriveCommonObj.h:122
TNKTrafficLightTypeRed
@ TNKTrafficLightTypeRed
红灯
Definition: TNKDriveCommonObj.h:121
_TNKCameraType
_TNKCameraType
Definition: TNKDriveCommonObj.h:61
TNKCameraTypeForbiddenUTurn
@ TNKCameraTypeForbiddenUTurn
禁止掉头摄像头
Definition: TNKDriveCommonObj.h:98
TNKCameraTypeForbiddenTure
@ TNKCameraTypeForbiddenTure
禁止左右转
Definition: TNKDriveCommonObj.h:79
TNKCameraTypeBusOnlyWay
@ TNKCameraTypeBusOnlyWay
公交
Definition: TNKDriveCommonObj.h:67
TNKCameraTypeIllegalBlow
@ TNKCameraTypeIllegalBlow
违法鸣笛摄像头
Definition: TNKDriveCommonObj.h:77
TNKCameraTypeQujianEnter
@ TNKCameraTypeQujianEnter
区间测速进入点
Definition: TNKDriveCommonObj.h:71
TNKCameraTypeEntrance
@ TNKCameraTypeEntrance
出入口摄像头
Definition: TNKDriveCommonObj.h:97
TNKCameraTypeNotFollowGuideLane
@ TNKCameraTypeNotFollowGuideLane
不按导向车道行驶
Definition: TNKDriveCommonObj.h:100
TNKCameraTypeVehicelTypeSpeed
@ TNKCameraTypeVehicelTypeSpeed
分车种限速
Definition: TNKDriveCommonObj.h:85
TNKCameraTypeCrossing
@ TNKCameraTypeCrossing
违章过路口
Definition: TNKDriveCommonObj.h:87
TNKCameraTypeFixedSpeedTraps
@ TNKCameraTypeFixedSpeedTraps
固定测速点
Definition: TNKDriveCommonObj.h:65
TNKCameraTypeMobileSpeedZone
@ TNKCameraTypeMobileSpeedZone
移动测速区
Definition: TNKDriveCommonObj.h:66
TNKCameraTypeLaLian
@ TNKCameraTypeLaLian
拉链通行道路监控.
Definition: TNKDriveCommonObj.h:74
TNKCameraTypePedestrainFirst
@ TNKCameraTypePedestrainFirst
礼让行人
Definition: TNKDriveCommonObj.h:93
TNKCameraTypeIllegalChangeLane
@ TNKCameraTypeIllegalChangeLane
违法变道
Definition: TNKDriveCommonObj.h:103
TNKCameraTypeLaneSpeed
@ TNKCameraTypeLaneSpeed
分车道限速
Definition: TNKDriveCommonObj.h:84
TNKCameraTypeOneWay
@ TNKCameraTypeOneWay
单行
Definition: TNKDriveCommonObj.h:68
TNKCameraTypeTraffic
@ TNKCameraTypeTraffic
路况监控
Definition: TNKDriveCommonObj.h:96
TNKCameraTypeQujianExit
@ TNKCameraTypeQujianExit
区间测速退出点
Definition: TNKDriveCommonObj.h:72
TNKCameraTypeAnnualInpection
@ TNKCameraTypeAnnualInpection
车辆未按规定年检
Definition: TNKDriveCommonObj.h:94
TNKCameraTypeNoneMotorWay
@ TNKCameraTypeNoneMotorWay
非机动车
Definition: TNKDriveCommonObj.h:70
TNKCameraTypeBusStation
@ TNKCameraTypeBusStation
公交车站摄像头
Definition: TNKDriveCommonObj.h:78
TNKCameraTypeLaneOccupy
@ TNKCameraTypeLaneOccupy
违章占车道
Definition: TNKDriveCommonObj.h:86
TNKCameraTypeKeepSafeDistance
@ TNKCameraTypeKeepSafeDistance
保持安全距离
Definition: TNKDriveCommonObj.h:102
TNKCameraTypeForbiddenLight
@ TNKCameraTypeForbiddenLight
违规用灯
Definition: TNKDriveCommonObj.h:89
TNKCameraTypeEtcToll
@ TNKCameraTypeEtcToll
etc收费电子眼
Definition: TNKDriveCommonObj.h:99
TNKCameraTypeLifeBelt
@ TNKCameraTypeLifeBelt
不系安全带
Definition: TNKDriveCommonObj.h:90
TNKCameraTypeRedLight
@ TNKCameraTypeRedLight
闯红灯照相
Definition: TNKDriveCommonObj.h:63
TNKCameraTypeLowestSpeed
@ TNKCameraTypeLowestSpeed
超低速
Definition: TNKDriveCommonObj.h:82
TNKCameraTypeElectronicMonitoring
@ TNKCameraTypeElectronicMonitoring
电子监控
Definition: TNKDriveCommonObj.h:64
TNKCameraTypeTrafficFlowMonitor
@ TNKCameraTypeTrafficFlowMonitor
流量监控（车流量）
Definition: TNKDriveCommonObj.h:101
TNKCameraTypeGoToBeijing
@ TNKCameraTypeGoToBeijing
外地车进京监控,
Definition: TNKDriveCommonObj.h:76
TNKCameraTypeHOV
@ TNKCameraTypeHOV
多乘员专用道监控.
Definition: TNKDriveCommonObj.h:73
TNKCameraTypeForbiddenParking
@ TNKCameraTypeForbiddenParking
违章停车
Definition: TNKDriveCommonObj.h:81
TNKCameraTypeTailNumber
@ TNKCameraTypeTailNumber
尾号限行，
Definition: TNKDriveCommonObj.h:75
TNKCameraTypeVehicelExhaust
@ TNKCameraTypeVehicelExhaust
车辆尾气超标
Definition: TNKDriveCommonObj.h:95
TNKCameraTypeForbiddenCall
@ TNKCameraTypeForbiddenCall
开车打手机
Definition: TNKDriveCommonObj.h:91
TNKCameraTypeLimitLine
@ TNKCameraTypeLimitLine
环保限行
Definition: TNKDriveCommonObj.h:92
TNKCameraTypeEmergencyWay
@ TNKCameraTypeEmergencyWay
应急
Definition: TNKDriveCommonObj.h:69
TNKCameraTypeForbiddenLine
@ TNKCameraTypeForbiddenLine
违反禁止标线
Definition: TNKDriveCommonObj.h:80
TNKCameraTypeAlterableSpeed
@ TNKCameraTypeAlterableSpeed
可变限速
Definition: TNKDriveCommonObj.h:83
TNKCameraTypeNone
@ TNKCameraTypeNone
无类型
Definition: TNKDriveCommonObj.h:62
TNKCameraTypeForbiddenSign
@ TNKCameraTypeForbiddenSign
违反禁令标志
Definition: TNKDriveCommonObj.h:88
_TNKTurnRestrictionType
_TNKTurnRestrictionType
Definition: TNKDriveCommonObj.h:108
TNKTurnRestrictionTypeRightUTurn
@ TNKTurnRestrictionTypeRightUTurn
禁止右调头
Definition: TNKDriveCommonObj.h:113
TNKTurnRestrictionTypeNone
@ TNKTurnRestrictionTypeNone
无禁止
Definition: TNKDriveCommonObj.h:109
TNKTurnRestrictionTypeStraight
@ TNKTurnRestrictionTypeStraight
禁止直行
Definition: TNKDriveCommonObj.h:114
TNKTurnRestrictionTypeLeft
@ TNKTurnRestrictionTypeLeft
禁止左转
Definition: TNKDriveCommonObj.h:110
TNKTurnRestrictionTypeRight
@ TNKTurnRestrictionTypeRight
禁止右转
Definition: TNKDriveCommonObj.h:111
TNKTurnRestrictionTypeLeftUTurn
@ TNKTurnRestrictionTypeLeftUTurn
禁止左调头
Definition: TNKDriveCommonObj.h:112
TNKLocationSourceType
enum _TNKLocationSourceType TNKLocationSourceType
_TNKEmissionStandard
_TNKEmissionStandard
Definition: TNKDriveCommonObj.h:565
TNKEmissionStandardIII
@ TNKEmissionStandardIII
国三
Definition: TNKDriveCommonObj.h:569
TNKEmissionStandardIV
@ TNKEmissionStandardIV
国四
Definition: TNKDriveCommonObj.h:570
TNKEmissionStandardI
@ TNKEmissionStandardI
国一
Definition: TNKDriveCommonObj.h:567
TNKEmissionStandardII
@ TNKEmissionStandardII
国二
Definition: TNKDriveCommonObj.h:568
TNKEmissionStandardV
@ TNKEmissionStandardV
国五
Definition: TNKDriveCommonObj.h:571
TNKEmissionStandardUnknown
@ TNKEmissionStandardUnknown
未知
Definition: TNKDriveCommonObj.h:566
TNKEmissionStandardVI
@ TNKEmissionStandardVI
国六
Definition: TNKDriveCommonObj.h:572
_TNKTruckRestrictionType
_TNKTruckRestrictionType
Definition: TNKDriveCommonObj.h:585
TNKTruckRestrictionTypeDanger
@ TNKTruckRestrictionTypeDanger
限制危险品
Definition: TNKDriveCommonObj.h:591
TNKTruckRestrictionTypeHeight
@ TNKTruckRestrictionTypeHeight
限高
Definition: TNKDriveCommonObj.h:588
TNKTruckRestrictionTypeWidth
@ TNKTruckRestrictionTypeWidth
限宽
Definition: TNKDriveCommonObj.h:587
TNKTruckRestrictionTypeWeight
@ TNKTruckRestrictionTypeWeight
限重
Definition: TNKDriveCommonObj.h:590
TNKTruckRestrictionTypeLength
@ TNKTruckRestrictionTypeLength
限长
Definition: TNKDriveCommonObj.h:589
TNKTruckRestrictionTypeNone
@ TNKTruckRestrictionTypeNone
无限制
Definition: TNKDriveCommonObj.h:586
NS_OPTIONS
typedef NS_OPTIONS(NSUInteger, TNKDriveLimitStatus)
驾车限行类型
Definition: TNKDriveCommonObj.h:127
_TNKTruckPlateColor
_TNKTruckPlateColor
Definition: TNKDriveCommonObj.h:547
TNKTruckPlateColorYellowGreen
@ TNKTruckPlateColorYellowGreen
黄绿
Definition: TNKDriveCommonObj.h:554
TNKTruckPlateColorYellow
@ TNKTruckPlateColorYellow
黄色
Definition: TNKDriveCommonObj.h:550
TNKTruckPlateColorGreen
@ TNKTruckPlateColorGreen
绿色
Definition: TNKDriveCommonObj.h:553
TNKTruckPlateColorUnknown
@ TNKTruckPlateColorUnknown
未知
Definition: TNKDriveCommonObj.h:548
TNKTruckPlateColorBlack
@ TNKTruckPlateColorBlack
黑色
Definition: TNKDriveCommonObj.h:551
TNKTruckPlateColorBlue
@ TNKTruckPlateColorBlue
蓝色
Definition: TNKDriveCommonObj.h:549
TNKTruckPlateColorWhite
@ TNKTruckPlateColorWhite
白色
Definition: TNKDriveCommonObj.h:552
TNKTurnRestrictionType
enum _TNKTurnRestrictionType TNKTurnRestrictionType
转向禁止类型
TNKEnergyType
enum _TNKEnergyType TNKEnergyType
能源类型
_TNKRoadMatchStatus
_TNKRoadMatchStatus
Definition: TNKDriveCommonObj.h:189
TNKRoadMatchStatusOffRoute
@ TNKRoadMatchStatusOffRoute
车标脱离
Definition: TNKDriveCommonObj.h:191
TNKRoadMatchStatusNull
@ TNKRoadMatchStatusNull
默认值
Definition: TNKDriveCommonObj.h:190
TNKRoadMatchStatusOnRoute
@ TNKRoadMatchStatusOnRoute
车标匹配在路上
Definition: TNKDriveCommonObj.h:192
TNKTruckRestrictionType
enum _TNKTruckRestrictionType TNKTruckRestrictionType
货车限制类型
TNKRoadType
enum _TNKRoadType TNKRoadType
路段的详细类型
_TNKEnergyType
_TNKEnergyType
Definition: TNKDriveCommonObj.h:146
TNKEnergyTypeElectric
@ TNKEnergyTypeElectric
纯电
Definition: TNKDriveCommonObj.h:150
TNKEnergyTypeUnknown
@ TNKEnergyTypeUnknown
未知
Definition: TNKDriveCommonObj.h:147
TNKEnergyTypeGas
@ TNKEnergyTypeGas
汽油
Definition: TNKDriveCommonObj.h:151
TNKEnergyTypeDiesel
@ TNKEnergyTypeDiesel
柴油
Definition: TNKDriveCommonObj.h:148
TNKEnergyTypeHybird
@ TNKEnergyTypeHybird
油电混动
Definition: TNKDriveCommonObj.h:149
TNKTruckTrailerType
enum _TNKTruckTrailerType TNKTruckTrailerType
拖挂类型
TNKEmissionStandard
enum _TNKEmissionStandard TNKEmissionStandard
排放标准
_TNKTruckTrailerType
_TNKTruckTrailerType
Definition: TNKDriveCommonObj.h:538
TNKTruckTrailerTypeUnknown
@ TNKTruckTrailerTypeUnknown
未知
Definition: TNKDriveCommonObj.h:539
TNKTruckTrailerTypeSemi
@ TNKTruckTrailerTypeSemi
半挂
Definition: TNKDriveCommonObj.h:542
TNKTruckTrailerTypeFlatbed
@ TNKTruckTrailerTypeFlatbed
平板
Definition: TNKDriveCommonObj.h:540
TNKTruckTrailerTypeFull
@ TNKTruckTrailerTypeFull
全挂
Definition: TNKDriveCommonObj.h:543
TNKTruckTrailerTypeContainer
@ TNKTruckTrailerTypeContainer
箱货
Definition: TNKDriveCommonObj.h:541
TNKCameraType
enum _TNKCameraType TNKCameraType
电子眼的类型
TNKSliceType
enum _TNKSliceType TNKSliceType
分包分片的详细类型
TNKTrafficLightType
enum _TNKTrafficLightType TNKTrafficLightType
红绿灯灯态
TNKTruckFunctionType
enum _TNKTruckFunctionType TNKTruckFunctionType
货车用途
TNKTruckPlateColor
enum _TNKTruckPlateColor TNKTruckPlateColor
车牌颜色
TNKDriveRouteSearchErrorDomain
NSString *const TNKDriveRouteSearchErrorDomain
路线规划的错误
TNKRoadGrade
NS_ASSUME_NONNULL_BEGIN enum _TNKRoadGrade TNKRoadGrade
道路等级
TNKRoadKind
enum _TNKRoadKind TNKRoadKind
道路属性
TNKCoordinatePoint
经纬度类
Definition: TNKCommonObj.h:42
TNKCustomRouteReason
Definition: TNKDriveCommonObj.h:956
TNKDriveRoute
算路的路线数据类
Definition: TNKDriveCommonObj.h:374
TNKDriveRouteRequest
驾车算路请求类
Definition: TNKDriveCommonObj.h:348
TNKDriveRouteSearchOption
驾车路径规划算路策略
Definition: TNKDriveCommonObj.h:200
TNKDriveRouteSearchResult
驾车算路返回数据类
Definition: TNKDriveCommonObj.h:499
TNKForkPoint
多路线分歧点信息.
Definition: TNKDriveCommonObj.h:707
TNKLocation
导航的定位信息.
Definition: TNKLocation.h:19
TNKMotoSearchOption
摩托车导航算路参数.
Definition: TNKDriveCommonObj.h:688
TNKPosMatchLocation
巡航定位信息
Definition: TNKDriveCommonObj.h:1022
TNKRestrictionItem
交规信息基础类
Definition: TNKDriveCommonObj.h:807
TNKRouteFilterLink
被过滤的Link
Definition: TNKDriveCommonObj.h:942
TNKRoutePoint
路线上的坐标类
Definition: TNKCommonObj.h:50
TNKRouteRequest
算路请求类
Definition: TNKCommonObj.h:83
TNKTrafficLightCountdownMsg
红绿灯倒计时信息
Definition: TNKDriveCommonObj.h:971
TNKTruckRestrictionItem
违反货车规格限制信息
Definition: TNKDriveCommonObj.h:824
TNKTruckSearchOption
货车导航算路参数.
Definition: TNKDriveCommonObj.h:598
TNKTurnRestrictionItem
违反交规信息
Definition: TNKDriveCommonObj.h:856