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 TNKForkPoint;
19@class TNKNavToWayPointInfo;
20@class TencentLBSLocation;
21@class TNKTruckRestrictionItem;
22@class TNKTurnRestrictionItem;
23@class TNKCustomRouteReason;
24
28 extern NSString * const TNKDriveRouteSearchErrorDomain;
29
30 typedef enum _TNKDriveRouteSearchErrorCode
31{
32 TNKDriveRouteSearchErrorCode_NetworkError = 1001,
33 TNKDriveRouteSearchErrorCode_NoNetwork = 1002,
34 TNKDriveRouteSearchErrorCode_RequestTimeOut = 1003,
35 TNKDriveRouteSearchErrorCode_DataInvalid = 2001,
36 TNKDriveRouteSearchErrorCode_StartDestPointError = 2002,
37 TNKDriveRouteSearchErrorCode_WayPointError = 2003,
38 TNKDriveRouteSearchErrorCode_AdsorptionFailed = 2004,
39 TNKDriveRouteSearchErrorCode_CalculateFailed = 2005,
40 TNKDriveRouteSearchErrorCode_InvalidKeyError = 2006,
41 TNKDriveRouteSearchErrorCode_NavigationParaInvalid = 2007,
42 TNKDriveRouteSearchErrorCode_ChangeRouteByRouteIDFailed = 2008,
43 TNKDriveRouteSearchErrorCode_Privacy_Failed = 2009,
44 TNKDriveRouteSearchErrorCode_ServerError = 2999
45} TNKDriveRouteSearchErrorCode;
46
47 typedef enum _TNKRoadType
48{
49 TNKRoadType_None = 0,
50 TNKRoadType_Elevated = 1,
51 TNKRoadType_Downstairs = 2,
52 TNKRoadType_MainRoad = 3,
53 TNKRoadType_ServingRoad = 4,
54 TNKRoadType_DirectionRoad = 5,
55 TNKRoadType_DownstairsMainRoad = 6,
56 TNKRoadType_DownstairsServingRoad = 7,
57} TNKRoadType;
58
59 typedef enum _TNKCameraType
60{
61 TNKCameraTypeNone = 0,
62 TNKCameraTypeRedLight = 1,
63 TNKCameraTypeElectronicMonitoring = 2,
64 TNKCameraTypeFixedSpeedTraps = 3,
65 TNKCameraTypeMobileSpeedZone = 4,
66 TNKCameraTypeBusOnlyWay = 5,
67 TNKCameraTypeOneWay = 6,
68 TNKCameraTypeEmergencyWay = 7,
69 TNKCameraTypeNoneMotorWay = 8,
70 TNKCameraTypeQujianEnter = 9,
71 TNKCameraTypeQujianExit = 10,
72 TNKCameraTypeHOV = 16,
73 TNKCameraTypeLaLian = 17,
74 TNKCameraTypeTailNumber = 21,
75 TNKCameraTypeGoToBeijing = 22,
76 TNKCameraTypeIllegalBlow = 23,
77 TNKCameraTypeBusStation = 24,
78 TNKCameraTypeForbiddenTure = 30,
79 TNKCameraTypeForbiddenLine = 31,
80 TNKCameraTypeForbiddenParking = 32,
81 TNKCameraTypeLowestSpeed = 33,
82 TNKCameraTypeAlterableSpeed = 34,
83 TNKCameraTypeLaneSpeed = 35,
84 TNKCameraTypeVehicelTypeSpeed = 36,
85 TNKCameraTypeLaneOccupy = 37,
86 TNKCameraTypeCrossing = 38,
87 TNKCameraTypeForbiddenSign = 39,
88 TNKCameraTypeForbiddenLight = 40,
89 TNKCameraTypeLifeBelt = 41,
90 TNKCameraTypeForbiddenCall = 42,
91 TNKCameraTypeLimitLine = 43,
92 TNKCameraTypePedestrainFirst = 44,
93 TNKCameraTypeAnnualInpection = 45,
94 TNKCameraTypeVehicelExhaust = 46,
95 TNKCameraTypeTraffic = 47,
96 TNKCameraTypeEntrance = 48,
97 TNKCameraTypeForbiddenUTurn = 49,
98 TNKCameraTypeEtcToll = 50,
99 TNKCameraTypeNotFollowGuideLane = 51,
100 TNKCameraTypeTrafficFlowMonitor = 52,
101 TNKCameraTypeKeepSafeDistance = 53,
102 TNKCameraTypeIllegalChangeLane = 54
103} TNKCameraType;
104
105
106 typedef enum _TNKTurnRestrictionType
107{
108 TNKTurnRestrictionTypeNone = 0,
109 TNKTurnRestrictionTypeLeft = 1,
110 TNKTurnRestrictionTypeRight = 2,
111 TNKTurnRestrictionTypeLeftUTurn = 3,
112 TNKTurnRestrictionTypeRightUTurn = 4,
113 TNKTurnRestrictionTypeStraight = 5,
114} TNKTurnRestrictionType;
115
116
117 typedef enum _TNKTrafficLightType
118{
119 TNKTrafficLightTypeNone = -1,
120 TNKTrafficLightTypeRed = 0,
121 TNKTrafficLightTypeGreen = 1,
122 TNKTrafficLightTypeYellow = 2,
123} TNKTrafficLightType;
124
126 typedef NS_OPTIONS(NSUInteger, TNKDriveLimitStatus) {
127 TNKDriveLimitStatusNone = 0,
128 TNKDriveLimitStatusAvoided = 1 << 0,
129 TNKDriveLimitStatusLimitAtStart = 1 << 1,
130 TNKDriveLimitStatusLimitAtEnd = 1 << 2,
131 TNKDriveLimitStatusThrough = 1 << 3,
132 TNKDriveLimitStatusCanAvoid = 1 << 4,
133};
134
135 typedef enum _TNKSliceType
136{
137 TNKSliceTypeNone = 0,
138 TNKSliceTypeTwo = 1,
139 TNKSliceTypeThree = 2,
140 TNKSliceTypeAuto = 9,
141} TNKSliceType;
142
143
144 typedef enum _TNKEnergyType
145{
146 TNKEnergyTypeUnknown = 0,
147 TNKEnergyTypeDiesel,
148 TNKEnergyTypeHybird,
149 TNKEnergyTypeElectric,
150 TNKEnergyTypeGas,
151} TNKEnergyType;
152
153/*------------------------------------导航过程------------------------------------*/
154
158@interface TNKNavStartFailInfo : NSObject
159
163@property (nonatomic, assign) int code;
164
168@property (nonatomic, copy) NSString *msg;
169
173@property (nonatomic, copy) NSString *routeID;
174
175@end
176 typedef enum _TNKRoadMatchStatus
177{
178 TNKRoadMatchStatusNull = -1,
179 TNKRoadMatchStatusOffRoute = 0,
180 TNKRoadMatchStatusOnRoute = 1,
181} TNKRoadMatchStatus;
182
183
184
188@interface TNKDriveRouteSearchOption : NSObject<NSCopying>
189
193@property (nonatomic, assign) BOOL avoidToll;
194
198@property (nonatomic, assign) BOOL avoidHighway;
199
203@property (nonatomic, assign) BOOL avoidTrafficJam;
204
208@property (nonatomic, assign) BOOL highway;
209
213@property (nonatomic, assign) BOOL shortTime;
214
218@property (nonatomic, assign) BOOL isShortDistance;
219
223@property (nonatomic, assign) BOOL bigRoad;
224
228@property (nonatomic, assign) TNKRoadType startRoadType;
229
233@property (nonatomic, copy, nullable) NSString *carNumber;
234
239@property (nonatomic, assign) BOOL greenCar;
240
244@property (nonatomic, assign) TNKEnergyType carEnergyType;
245
250@property (nonatomic, assign) BOOL searchMultiRoutes;
251
255@property (nonatomic, copy, nullable) NSArray<TencentLBSLocation *> *preLocations;
256
260@property (nonatomic, copy, nullable) NSArray<TencentLBSLocation *> *routePointsLocations;
261
266@property (nonatomic, assign) BOOL routePointsIsSearch;
267
272@property (nonatomic, assign) BOOL routePointsIsReRouteSearch;
273
278@property (nonatomic, assign) BOOL avoidLimit;
279
284@property (nonatomic, assign) TNKSliceType sliceType;
285
286
287/*------------------------------------货车导航参数------------------------------------*/
288
292@property (nonatomic, copy, nullable) TNKTruckSearchOption *truckSearchOption;
293
294
295/*------------------------------------出行场景参数------------------------------------*/
296
300@property (nonatomic, assign) int navScene;
301
305@property (nonatomic, copy, nullable) NSString *userID;
306
310@property (nonatomic, copy, nullable) NSString *initialRouteID;
311
315@property (nonatomic, copy, nullable) NSString *initialRequestID;
316
317@end
318
322@interface TNKDriveRouteRequest: TNKRouteRequest
323
327@property (nonatomic, copy, nullable) NSArray<TNKSearchNavPoint *> *waypoints;
328
332@property (nonatomic, copy) TNKDriveRouteSearchOption *searchOption;
333
341- (int)setAvoidAreas:(NSArray<NSArray<TNKCoordinatePoint *> *> *)avoidAreas;
342
343@end
344
348@interface TNKDriveRoute : NSObject
349
353@property (nonatomic, readonly) NSString *recommendReason;
354
358@property (nonatomic, readonly) NSArray<TNKCoordinatePoint *> *routePoints;
359
363@property (nonatomic, readonly) NSString *routeID;
364
368@property (nonatomic, readonly) int totalDistance;
369
373@property (nonatomic, readonly) int totalTime;
374
378@property (nonatomic, readonly) int trafficLightCount;
379
383@property (nonatomic, readonly) int fee;
384
389@property (nonatomic, readonly) int tollDistance;
390
394@property (nonatomic, readonly) TNKSearchNavPoint *origin;
395
399@property (nonatomic, readonly) TNKSearchNavPoint *destination;
400
404@property (nonatomic, readonly, nullable) NSArray<TNKNavToWayPointInfo *> *waypoints;
405
409@property (nonatomic, readonly) NSArray <TNKRouteTrafficItem *> *routeTrafficItems;
410
414@property (nonatomic, readonly) NSArray <TNKSegmentItem *> *segmentItems;
415
419@property (nonatomic, readonly, nullable) NSArray <TNKDriveRouteExplain *> *routeExplainItems;
420
425@property (nonatomic, readonly, nullable) NSArray <TNKRoutePoint *> *trafficLights;
426
430@property (nonatomic, readonly, nullable) NSArray<TNKForkPoint *> *forkPoints;
431
436@property (nonatomic, readonly) int bkRecommendType;
437
442@property (nonatomic, readonly) NSArray<TNKTurnRestrictionItem *> *turnRestrictionItems;
443
448@property (nonatomic, readonly) NSArray<TNKTruckRestrictionItem *> *truckRestrictionItems;
449
454@property (nonatomic, readonly, nullable) NSArray<NSNumber *> *customTags;
455
460@property (nonatomic, readonly) TNKDriveLimitStatus limitStatus;
461
466@property (nonatomic, readonly) NSString *experienceRouteID;
467
468@end
469
473@interface TNKDriveRouteSearchResult : NSObject
474
478@property (nonatomic, readonly) NSArray<TNKDriveRoute *> *routes;
479
483@property (nonatomic, readonly) BOOL isSearchByRouteIDWorking;
484
488@property (nonatomic, readonly) BOOL hitEndAdsorbExtStrategy;
489
494@property (nonatomic, readonly) NSString *naviSessionID;
495
496
498@property (nonatomic, readonly, nullable) TNKCustomRouteReason *customRouteReason;
499
500@end
501
502
503 typedef enum _TNKTruckType
504{
505 TNKTruckTypeMiniTruck = 1,
506 TNKTruckTypeLightTruck = 2,
507 TNKTruckTypeMediumTruck = 3,
508 TNKTruckTypeHeavyTruck = 4,
509} TNKTruckType;
510
511
512 typedef enum _TNKTruckTrailerType
513{
514 TNKTruckTrailerTypeUnknown = 0,
515 TNKTruckTrailerTypeFlatbed,
516 TNKTruckTrailerTypeContainer,
517 TNKTruckTrailerTypeSemi,
518 TNKTruckTrailerTypeFull,
519} TNKTruckTrailerType;
520
521 typedef enum _TNKTruckPlateColor
522{
523 TNKTruckPlateColorUnknown = 0,
524 TNKTruckPlateColorBlue,
525 TNKTruckPlateColorYellow,
526 TNKTruckPlateColorBlack,
527 TNKTruckPlateColorWhite,
528 TNKTruckPlateColorGreen,
529 TNKTruckPlateColorYellowGreen,
530} TNKTruckPlateColor;
531
532
533 typedef enum _TNKTruckFunctionType
534{
535 TNKTruckFunctionTypeNormal = 0,
536 TNKTruckFunctionTypeDanger,
537} TNKTruckFunctionType;
538
539 typedef enum _TNKEmissionStandard
540{
541 TNKEmissionStandardUnknown = 0,
542 TNKEmissionStandardI,
543 TNKEmissionStandardII,
544 TNKEmissionStandardIII,
545 TNKEmissionStandardIV,
546 TNKEmissionStandardV,
547 TNKEmissionStandardVI,
548} TNKEmissionStandard;
549
550 typedef enum _TNKTruckPassType
551{
552 TNKTruckPassTypeNoNeed,
553 TNKTruckPassTypeHave,
554 TNKTruckPassTypeNotHave,
555 TNKTruckPassTypeApproval,
556} TNKTruckPassType;
557
558
559 typedef enum _TNKTruckRestrictionType
560{
561 TNKTruckRestrictionTypeNone = 0,
562 TNKTruckRestrictionTypeWidth = 1,
563 TNKTruckRestrictionTypeHeight = 2,
564 TNKTruckRestrictionTypeLength = 3,
565 TNKTruckRestrictionTypeWeight = 4,
566 TNKTruckRestrictionTypeDanger = 5,
567} TNKTruckRestrictionType;
568
573@interface TNKTruckSearchOption : NSObject<NSCopying>
574
578@property (nonatomic, assign) TNKTruckType truckType;
579
583@property (nonatomic, assign) float length;
584
588@property (nonatomic, assign) float width;
589
593@property (nonatomic, assign) float height;
594
598@property (nonatomic, assign) float weight;
599
603@property (nonatomic, assign) float load;
604
608@property (nonatomic, assign) int axisCount;
609
613@property (nonatomic, assign) float axisLoad;
614
618@property (nonatomic, assign) TNKTruckTrailerType trailerType;
619
623@property (nonatomic, assign) TNKTruckPlateColor plateColor;
624
628@property (nonatomic, assign) TNKEnergyType energyType;
629
633@property (nonatomic, assign) TNKTruckFunctionType functionType;
634
638@property (nonatomic, assign) TNKEmissionStandard emissionStandard;
639
643@property (nonatomic, assign) TNKTruckPassType passType;
644
648@property (nonatomic, assign) BOOL willIgnoreWeight;
649
650
655@property (nonatomic, assign) BOOL needExperienceRoute;
656
657@end
658
663@interface TNKForkPoint : NSObject
664
668@property (nonatomic, readonly) CLLocationCoordinate2D coord;
672@property (nonatomic, readonly) int pointIndex;
676@property (nonatomic, readonly) NSString *forkRouteID;
677
678@end
679
680
684@interface TNKDriveNavRoute : NSObject
685
686- (instancetype)init NS_UNAVAILABLE;
687
689- (instancetype)initWithSearchRoute:(TNKDriveRoute *)searchRoute;
690
694@property (nonatomic, readonly) TNKDriveRoute *searchRoute;
695
699@property (nonatomic, readonly) int remainingDistance;
700
704@property (nonatomic, readonly) int remainingTime;
705
709@property (nonatomic, readonly) int remainingTimeInSeconds;
710
714@property (nonatomic, readonly) NSArray<TNKRouteTrafficItem *> *curTrafficItems;
715
719@property (nonatomic, readonly, nullable) TNKLocation *location;
720
724@property (nonatomic, readonly) int distBetweenOrginAndRouteFistPoint;
725
726@end
727
731@interface TNKNavCameraInfo : NSObject
732
736@property (nonatomic, assign) TNKCameraType type;
737
741@property (nonatomic, strong) TNKRoutePoint *routePoint;
742
746@property (nonatomic, assign) int distance;
747
751@property (nonatomic, assign) int limitSpeed;
752
756@property (nonatomic, assign) int speedZoneLimitLength;
757
758@end
759
763@interface TNKRestrictionItem : NSObject
764
768@property (nonatomic, readonly) TNKRoutePoint *routePoint;
769
773@property (nonatomic, readonly) NSString *roadName;
774
775@end
776
780@interface TNKTruckRestrictionItem : TNKRestrictionItem
781
785@property (nonatomic, readonly) TNKTruckRestrictionType type;
786
790@property (nonatomic, readonly) float limitWidth;
791
795@property (nonatomic, readonly) float limitHeight;
796
800@property (nonatomic, readonly) float limitLength;
801
805@property (nonatomic, readonly) float limitWeight;
806
807@end
808
812@interface TNKTurnRestrictionItem : TNKRestrictionItem
813
817@property (nonatomic, readonly) TNKTurnRestrictionType type;
818
822@property (nonatomic, readonly) BOOL always;
823
827@property (nonatomic, readonly) NSString *timeDesc;
828
832@property (nonatomic, readonly) int limitCarType;
833
834@end
835
839@interface TNKNavRestrictionItem : NSObject
840
844@property (nonatomic, strong, readonly) TNKRestrictionItem *restrictionItem;
845
849@property (nonatomic, readonly) int distance;
850
851@end
852
856@interface TNKTruckNavRestrictionItem : TNKNavRestrictionItem
857
861@property (nonatomic, strong, readonly) TNKTruckRestrictionItem *truckRestrictionItem;
862
863@end
864
868@interface TNKTurnNavRestrictionItem : TNKNavRestrictionItem
869
873@property (nonatomic, strong, readonly) TNKTurnRestrictionItem *turnRestrictionItem;
874
875@end
876
880@interface TNKNavRestrictionInfo : NSObject
881
885@property (nonatomic, readonly) NSArray<TNKTruckNavRestrictionItem *> *truckNavRestrictionItems;
886
890@property (nonatomic, readonly) NSArray<TNKTurnNavRestrictionItem *> *turnNavRestrictionItems;
891
892@end
893
894
898@interface TNKRouteFilterLink : NSObject
899
901@property (nonatomic, readonly) NSString *linkID;
902
904@property (nonatomic, readonly) int filterType;
905
907@property (nonatomic, readonly) CLLocationCoordinate2D coord;
908
909@end
910
911
912@interface TNKCustomRouteReason : NSObject
913
917@property (nonatomic, readonly) NSArray<TNKRouteFilterLink *> *filterLinks;
918
922@property (nonatomic, readonly) int customerState;
923
924@end
925
927@interface TNKTrafficLightCountdownMsg : NSObject
928
930@property (nonatomic, readonly) TNKRoutePoint *routePoint;
932@property (nonatomic, readonly) TNKTrafficLightType trafficLightType;
934@property (nonatomic, readonly) int endTimestamp;
936@property (nonatomic, readonly) TNKTrafficLightType nextTrafficLightType;
938@property (nonatomic, readonly) int nextEndTimestamp;
939
940@end
941
942
946@interface TNKNavRoadMatchResult : NSObject
947
951@property (nonatomic, readonly) TNKRoadMatchStatus roadMatchStatus;
952
956@property (nonatomic, readonly) CLLocation *mactchLocation;
957
961@property (nonatomic, readonly) TNKRoadGrade roadGrade;
962
966@property (nonatomic, readonly) TNKRoadKind roadKind;
967
971@property (nonatomic, readonly) double roadDir;
972
973@end
974
978@interface TNKPosMatchLocation: NSObject
979
983@property (nonatomic, readonly) TencentLBSLocation *origLocation;
984
988@property (nonatomic, readonly) TNKNavRoadMatchResult *roadMatchResult;
989
990
991@end
992
993
994NS_ASSUME_NONNULL_END
_TNKSliceType
_TNKSliceType
Definition: TNKDriveCommonObj.h:136
TNKSliceTypeAuto
@ TNKSliceTypeAuto
自动
Definition: TNKDriveCommonObj.h:140
TNKSliceTypeThree
@ TNKSliceTypeThree
三段
Definition: TNKDriveCommonObj.h:139
TNKSliceTypeNone
@ TNKSliceTypeNone
不分片
Definition: TNKDriveCommonObj.h:137
TNKSliceTypeTwo
@ TNKSliceTypeTwo
两段
Definition: TNKDriveCommonObj.h:138
_TNKTruckType
_TNKTruckType
Definition: TNKDriveCommonObj.h:504
TNKTruckTypeMiniTruck
@ TNKTruckTypeMiniTruck
微型车
Definition: TNKDriveCommonObj.h:505
TNKTruckTypeMediumTruck
@ TNKTruckTypeMediumTruck
中型车
Definition: TNKDriveCommonObj.h:507
TNKTruckTypeHeavyTruck
@ TNKTruckTypeHeavyTruck
重型车
Definition: TNKDriveCommonObj.h:508
TNKTruckTypeLightTruck
@ TNKTruckTypeLightTruck
轻型车 （默认）
Definition: TNKDriveCommonObj.h:506
_TNKTruckPassType
_TNKTruckPassType
Definition: TNKDriveCommonObj.h:551
TNKTruckPassTypeNotHave
@ TNKTruckPassTypeNotHave
无通行证
Definition: TNKDriveCommonObj.h:554
TNKTruckPassTypeApproval
@ TNKTruckPassTypeApproval
预约通行证
Definition: TNKDriveCommonObj.h:555
TNKTruckPassTypeNoNeed
@ TNKTruckPassTypeNoNeed
不需要
Definition: TNKDriveCommonObj.h:552
TNKTruckPassTypeHave
@ TNKTruckPassTypeHave
有通行证
Definition: TNKDriveCommonObj.h:553
TNKDriveRouteSearchErrorCode
enum _TNKDriveRouteSearchErrorCode TNKDriveRouteSearchErrorCode
路线规划的错误码
_TNKTruckFunctionType
_TNKTruckFunctionType
Definition: TNKDriveCommonObj.h:534
TNKTruckFunctionTypeDanger
@ TNKTruckFunctionTypeDanger
危险品
Definition: TNKDriveCommonObj.h:536
TNKTruckFunctionTypeNormal
@ TNKTruckFunctionTypeNormal
常规
Definition: TNKDriveCommonObj.h:535
TNKRoadMatchStatus
enum _TNKRoadMatchStatus TNKRoadMatchStatus
道路吸附结果
_TNKRoadType
_TNKRoadType
Definition: TNKDriveCommonObj.h:48
TNKRoadType_None
@ TNKRoadType_None
无详细类型
Definition: TNKDriveCommonObj.h:49
TNKRoadType_ServingRoad
@ TNKRoadType_ServingRoad
在辅路
Definition: TNKDriveCommonObj.h:53
TNKRoadType_DownstairsMainRoad
@ TNKRoadType_DownstairsMainRoad
在桥下主路
Definition: TNKDriveCommonObj.h:55
TNKRoadType_Elevated
@ TNKRoadType_Elevated
在桥上
Definition: TNKDriveCommonObj.h:50
TNKRoadType_DownstairsServingRoad
@ TNKRoadType_DownstairsServingRoad
在桥下辅路
Definition: TNKDriveCommonObj.h:56
TNKRoadType_MainRoad
@ TNKRoadType_MainRoad
在主路
Definition: TNKDriveCommonObj.h:52
TNKRoadType_DirectionRoad
@ TNKRoadType_DirectionRoad
在对面，初始算路无效
Definition: TNKDriveCommonObj.h:54
TNKRoadType_Downstairs
@ TNKRoadType_Downstairs
在桥下
Definition: TNKDriveCommonObj.h:51
_TNKDriveRouteSearchErrorCode
_TNKDriveRouteSearchErrorCode
Definition: TNKDriveCommonObj.h:31
TNKDriveRouteSearchErrorCode_NoNetwork
@ TNKDriveRouteSearchErrorCode_NoNetwork
手机无网络
Definition: TNKDriveCommonObj.h:33
TNKDriveRouteSearchErrorCode_RequestTimeOut
@ TNKDriveRouteSearchErrorCode_RequestTimeOut
请求超时
Definition: TNKDriveCommonObj.h:34
TNKDriveRouteSearchErrorCode_DataInvalid
@ TNKDriveRouteSearchErrorCode_DataInvalid
返回数据无效
Definition: TNKDriveCommonObj.h:35
TNKDriveRouteSearchErrorCode_CalculateFailed
@ TNKDriveRouteSearchErrorCode_CalculateFailed
算路失败
Definition: TNKDriveCommonObj.h:39
TNKDriveRouteSearchErrorCode_ServerError
@ TNKDriveRouteSearchErrorCode_ServerError
服务器内部错误
Definition: TNKDriveCommonObj.h:44
TNKDriveRouteSearchErrorCode_WayPointError
@ TNKDriveRouteSearchErrorCode_WayPointError
途经点参数错误
Definition: TNKDriveCommonObj.h:37
TNKDriveRouteSearchErrorCode_Privacy_Failed
@ TNKDriveRouteSearchErrorCode_Privacy_Failed
尚未同意隐私协议
Definition: TNKDriveCommonObj.h:43
TNKDriveRouteSearchErrorCode_NavigationParaInvalid
@ TNKDriveRouteSearchErrorCode_NavigationParaInvalid
点串导航时参数不合法
Definition: TNKDriveCommonObj.h:41
TNKDriveRouteSearchErrorCode_NetworkError
@ TNKDriveRouteSearchErrorCode_NetworkError
网络错误
Definition: TNKDriveCommonObj.h:32
TNKDriveRouteSearchErrorCode_AdsorptionFailed
@ TNKDriveRouteSearchErrorCode_AdsorptionFailed
吸附失败
Definition: TNKDriveCommonObj.h:38
TNKDriveRouteSearchErrorCode_StartDestPointError
@ TNKDriveRouteSearchErrorCode_StartDestPointError
起终点参数错误
Definition: TNKDriveCommonObj.h:36
TNKDriveRouteSearchErrorCode_InvalidKeyError
@ TNKDriveRouteSearchErrorCode_InvalidKeyError
鉴权失败
Definition: TNKDriveCommonObj.h:40
TNKDriveRouteSearchErrorCode_ChangeRouteByRouteIDFailed
@ TNKDriveRouteSearchErrorCode_ChangeRouteByRouteIDFailed
乘客选路失败
Definition: TNKDriveCommonObj.h:42
TNKTruckType
enum _TNKTruckType TNKTruckType
货车类型
TNKTruckPassType
enum _TNKTruckPassType TNKTruckPassType
通行证类型
_TNKTrafficLightType
_TNKTrafficLightType
Definition: TNKDriveCommonObj.h:118
TNKTrafficLightTypeNone
@ TNKTrafficLightTypeNone
无效灯态
Definition: TNKDriveCommonObj.h:119
TNKTrafficLightTypeYellow
@ TNKTrafficLightTypeYellow
黄灯
Definition: TNKDriveCommonObj.h:122
TNKTrafficLightTypeGreen
@ TNKTrafficLightTypeGreen
绿灯
Definition: TNKDriveCommonObj.h:121
TNKTrafficLightTypeRed
@ TNKTrafficLightTypeRed
红灯
Definition: TNKDriveCommonObj.h:120
_TNKCameraType
_TNKCameraType
Definition: TNKDriveCommonObj.h:60
TNKCameraTypeForbiddenUTurn
@ TNKCameraTypeForbiddenUTurn
禁止掉头摄像头
Definition: TNKDriveCommonObj.h:97
TNKCameraTypeForbiddenTure
@ TNKCameraTypeForbiddenTure
禁止左右转
Definition: TNKDriveCommonObj.h:78
TNKCameraTypeBusOnlyWay
@ TNKCameraTypeBusOnlyWay
公交
Definition: TNKDriveCommonObj.h:66
TNKCameraTypeIllegalBlow
@ TNKCameraTypeIllegalBlow
违法鸣笛摄像头
Definition: TNKDriveCommonObj.h:76
TNKCameraTypeQujianEnter
@ TNKCameraTypeQujianEnter
区间测速进入点
Definition: TNKDriveCommonObj.h:70
TNKCameraTypeEntrance
@ TNKCameraTypeEntrance
出入口摄像头
Definition: TNKDriveCommonObj.h:96
TNKCameraTypeNotFollowGuideLane
@ TNKCameraTypeNotFollowGuideLane
不按导向车道行驶
Definition: TNKDriveCommonObj.h:99
TNKCameraTypeVehicelTypeSpeed
@ TNKCameraTypeVehicelTypeSpeed
分车种限速
Definition: TNKDriveCommonObj.h:84
TNKCameraTypeCrossing
@ TNKCameraTypeCrossing
违章过路口
Definition: TNKDriveCommonObj.h:86
TNKCameraTypeFixedSpeedTraps
@ TNKCameraTypeFixedSpeedTraps
固定测速点
Definition: TNKDriveCommonObj.h:64
TNKCameraTypeMobileSpeedZone
@ TNKCameraTypeMobileSpeedZone
移动测速区
Definition: TNKDriveCommonObj.h:65
TNKCameraTypeLaLian
@ TNKCameraTypeLaLian
拉链通行道路监控.
Definition: TNKDriveCommonObj.h:73
TNKCameraTypePedestrainFirst
@ TNKCameraTypePedestrainFirst
礼让行人
Definition: TNKDriveCommonObj.h:92
TNKCameraTypeIllegalChangeLane
@ TNKCameraTypeIllegalChangeLane
违法变道
Definition: TNKDriveCommonObj.h:102
TNKCameraTypeLaneSpeed
@ TNKCameraTypeLaneSpeed
分车道限速
Definition: TNKDriveCommonObj.h:83
TNKCameraTypeOneWay
@ TNKCameraTypeOneWay
单行
Definition: TNKDriveCommonObj.h:67
TNKCameraTypeTraffic
@ TNKCameraTypeTraffic
路况监控
Definition: TNKDriveCommonObj.h:95
TNKCameraTypeQujianExit
@ TNKCameraTypeQujianExit
区间测速退出点
Definition: TNKDriveCommonObj.h:71
TNKCameraTypeAnnualInpection
@ TNKCameraTypeAnnualInpection
车辆未按规定年检
Definition: TNKDriveCommonObj.h:93
TNKCameraTypeNoneMotorWay
@ TNKCameraTypeNoneMotorWay
非机动车
Definition: TNKDriveCommonObj.h:69
TNKCameraTypeBusStation
@ TNKCameraTypeBusStation
公交车站摄像头
Definition: TNKDriveCommonObj.h:77
TNKCameraTypeLaneOccupy
@ TNKCameraTypeLaneOccupy
违章占车道
Definition: TNKDriveCommonObj.h:85
TNKCameraTypeKeepSafeDistance
@ TNKCameraTypeKeepSafeDistance
保持安全距离
Definition: TNKDriveCommonObj.h:101
TNKCameraTypeForbiddenLight
@ TNKCameraTypeForbiddenLight
违规用灯
Definition: TNKDriveCommonObj.h:88
TNKCameraTypeEtcToll
@ TNKCameraTypeEtcToll
etc收费电子眼
Definition: TNKDriveCommonObj.h:98
TNKCameraTypeLifeBelt
@ TNKCameraTypeLifeBelt
不系安全带
Definition: TNKDriveCommonObj.h:89
TNKCameraTypeRedLight
@ TNKCameraTypeRedLight
闯红灯照相
Definition: TNKDriveCommonObj.h:62
TNKCameraTypeLowestSpeed
@ TNKCameraTypeLowestSpeed
超低速
Definition: TNKDriveCommonObj.h:81
TNKCameraTypeElectronicMonitoring
@ TNKCameraTypeElectronicMonitoring
电子监控
Definition: TNKDriveCommonObj.h:63
TNKCameraTypeTrafficFlowMonitor
@ TNKCameraTypeTrafficFlowMonitor
流量监控（车流量）
Definition: TNKDriveCommonObj.h:100
TNKCameraTypeGoToBeijing
@ TNKCameraTypeGoToBeijing
外地车进京监控,
Definition: TNKDriveCommonObj.h:75
TNKCameraTypeHOV
@ TNKCameraTypeHOV
多乘员专用道监控.
Definition: TNKDriveCommonObj.h:72
TNKCameraTypeForbiddenParking
@ TNKCameraTypeForbiddenParking
违章停车
Definition: TNKDriveCommonObj.h:80
TNKCameraTypeTailNumber
@ TNKCameraTypeTailNumber
尾号限行，
Definition: TNKDriveCommonObj.h:74
TNKCameraTypeVehicelExhaust
@ TNKCameraTypeVehicelExhaust
车辆尾气超标
Definition: TNKDriveCommonObj.h:94
TNKCameraTypeForbiddenCall
@ TNKCameraTypeForbiddenCall
开车打手机
Definition: TNKDriveCommonObj.h:90
TNKCameraTypeLimitLine
@ TNKCameraTypeLimitLine
环保限行
Definition: TNKDriveCommonObj.h:91
TNKCameraTypeEmergencyWay
@ TNKCameraTypeEmergencyWay
应急
Definition: TNKDriveCommonObj.h:68
TNKCameraTypeForbiddenLine
@ TNKCameraTypeForbiddenLine
违反禁止标线
Definition: TNKDriveCommonObj.h:79
TNKCameraTypeAlterableSpeed
@ TNKCameraTypeAlterableSpeed
可变限速
Definition: TNKDriveCommonObj.h:82
TNKCameraTypeNone
@ TNKCameraTypeNone
无类型
Definition: TNKDriveCommonObj.h:61
TNKCameraTypeForbiddenSign
@ TNKCameraTypeForbiddenSign
违反禁令标志
Definition: TNKDriveCommonObj.h:87
_TNKTurnRestrictionType
_TNKTurnRestrictionType
Definition: TNKDriveCommonObj.h:107
TNKTurnRestrictionTypeRightUTurn
@ TNKTurnRestrictionTypeRightUTurn
禁止右调头
Definition: TNKDriveCommonObj.h:112
TNKTurnRestrictionTypeNone
@ TNKTurnRestrictionTypeNone
无禁止
Definition: TNKDriveCommonObj.h:108
TNKTurnRestrictionTypeStraight
@ TNKTurnRestrictionTypeStraight
禁止直行
Definition: TNKDriveCommonObj.h:113
TNKTurnRestrictionTypeLeft
@ TNKTurnRestrictionTypeLeft
禁止左转
Definition: TNKDriveCommonObj.h:109
TNKTurnRestrictionTypeRight
@ TNKTurnRestrictionTypeRight
禁止右转
Definition: TNKDriveCommonObj.h:110
TNKTurnRestrictionTypeLeftUTurn
@ TNKTurnRestrictionTypeLeftUTurn
禁止左调头
Definition: TNKDriveCommonObj.h:111
_TNKEmissionStandard
_TNKEmissionStandard
Definition: TNKDriveCommonObj.h:540
TNKEmissionStandardIII
@ TNKEmissionStandardIII
国三
Definition: TNKDriveCommonObj.h:544
TNKEmissionStandardIV
@ TNKEmissionStandardIV
国四
Definition: TNKDriveCommonObj.h:545
TNKEmissionStandardI
@ TNKEmissionStandardI
国一
Definition: TNKDriveCommonObj.h:542
TNKEmissionStandardII
@ TNKEmissionStandardII
国二
Definition: TNKDriveCommonObj.h:543
TNKEmissionStandardV
@ TNKEmissionStandardV
国五
Definition: TNKDriveCommonObj.h:546
TNKEmissionStandardUnknown
@ TNKEmissionStandardUnknown
未知
Definition: TNKDriveCommonObj.h:541
TNKEmissionStandardVI
@ TNKEmissionStandardVI
国六
Definition: TNKDriveCommonObj.h:547
_TNKTruckRestrictionType
_TNKTruckRestrictionType
Definition: TNKDriveCommonObj.h:560
TNKTruckRestrictionTypeDanger
@ TNKTruckRestrictionTypeDanger
限制危险品
Definition: TNKDriveCommonObj.h:566
TNKTruckRestrictionTypeHeight
@ TNKTruckRestrictionTypeHeight
限高
Definition: TNKDriveCommonObj.h:563
TNKTruckRestrictionTypeWidth
@ TNKTruckRestrictionTypeWidth
限宽
Definition: TNKDriveCommonObj.h:562
TNKTruckRestrictionTypeWeight
@ TNKTruckRestrictionTypeWeight
限重
Definition: TNKDriveCommonObj.h:565
TNKTruckRestrictionTypeLength
@ TNKTruckRestrictionTypeLength
限长
Definition: TNKDriveCommonObj.h:564
TNKTruckRestrictionTypeNone
@ TNKTruckRestrictionTypeNone
无限制
Definition: TNKDriveCommonObj.h:561
NS_OPTIONS
typedef NS_OPTIONS(NSUInteger, TNKDriveLimitStatus)
驾车限行类型
Definition: TNKDriveCommonObj.h:126
_TNKTruckPlateColor
_TNKTruckPlateColor
Definition: TNKDriveCommonObj.h:522
TNKTruckPlateColorYellowGreen
@ TNKTruckPlateColorYellowGreen
黄绿
Definition: TNKDriveCommonObj.h:529
TNKTruckPlateColorYellow
@ TNKTruckPlateColorYellow
黄色
Definition: TNKDriveCommonObj.h:525
TNKTruckPlateColorGreen
@ TNKTruckPlateColorGreen
绿色
Definition: TNKDriveCommonObj.h:528
TNKTruckPlateColorUnknown
@ TNKTruckPlateColorUnknown
未知
Definition: TNKDriveCommonObj.h:523
TNKTruckPlateColorBlack
@ TNKTruckPlateColorBlack
黑色
Definition: TNKDriveCommonObj.h:526
TNKTruckPlateColorBlue
@ TNKTruckPlateColorBlue
蓝色
Definition: TNKDriveCommonObj.h:524
TNKTruckPlateColorWhite
@ TNKTruckPlateColorWhite
白色
Definition: TNKDriveCommonObj.h:527
TNKTurnRestrictionType
enum _TNKTurnRestrictionType TNKTurnRestrictionType
转向禁止类型
TNKEnergyType
enum _TNKEnergyType TNKEnergyType
能源类型
_TNKRoadMatchStatus
_TNKRoadMatchStatus
Definition: TNKDriveCommonObj.h:177
TNKRoadMatchStatusOffRoute
@ TNKRoadMatchStatusOffRoute
车标脱离
Definition: TNKDriveCommonObj.h:179
TNKRoadMatchStatusNull
@ TNKRoadMatchStatusNull
默认值
Definition: TNKDriveCommonObj.h:178
TNKRoadMatchStatusOnRoute
@ TNKRoadMatchStatusOnRoute
车标匹配在路上
Definition: TNKDriveCommonObj.h:180
TNKTruckRestrictionType
enum _TNKTruckRestrictionType TNKTruckRestrictionType
货车限制类型
TNKRoadType
enum _TNKRoadType TNKRoadType
路段的详细类型
_TNKEnergyType
_TNKEnergyType
Definition: TNKDriveCommonObj.h:145
TNKEnergyTypeElectric
@ TNKEnergyTypeElectric
纯电
Definition: TNKDriveCommonObj.h:149
TNKEnergyTypeUnknown
@ TNKEnergyTypeUnknown
未知
Definition: TNKDriveCommonObj.h:146
TNKEnergyTypeGas
@ TNKEnergyTypeGas
汽油
Definition: TNKDriveCommonObj.h:150
TNKEnergyTypeDiesel
@ TNKEnergyTypeDiesel
柴油
Definition: TNKDriveCommonObj.h:147
TNKEnergyTypeHybird
@ TNKEnergyTypeHybird
油电混动
Definition: TNKDriveCommonObj.h:148
TNKTruckTrailerType
enum _TNKTruckTrailerType TNKTruckTrailerType
拖挂类型
TNKEmissionStandard
enum _TNKEmissionStandard TNKEmissionStandard
排放标准
_TNKTruckTrailerType
_TNKTruckTrailerType
Definition: TNKDriveCommonObj.h:513
TNKTruckTrailerTypeUnknown
@ TNKTruckTrailerTypeUnknown
未知
Definition: TNKDriveCommonObj.h:514
TNKTruckTrailerTypeSemi
@ TNKTruckTrailerTypeSemi
半挂
Definition: TNKDriveCommonObj.h:517
TNKTruckTrailerTypeFlatbed
@ TNKTruckTrailerTypeFlatbed
平板
Definition: TNKDriveCommonObj.h:515
TNKTruckTrailerTypeFull
@ TNKTruckTrailerTypeFull
全挂
Definition: TNKDriveCommonObj.h:518
TNKTruckTrailerTypeContainer
@ TNKTruckTrailerTypeContainer
箱货
Definition: TNKDriveCommonObj.h:516
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:913
TNKDriveRoute
算路的路线数据类
Definition: TNKDriveCommonObj.h:349
TNKDriveRouteRequest
驾车算路请求类
Definition: TNKDriveCommonObj.h:323
TNKDriveRouteSearchOption
驾车路径规划算路策略
Definition: TNKDriveCommonObj.h:188
TNKDriveRouteSearchResult
驾车算路返回数据类
Definition: TNKDriveCommonObj.h:474
TNKForkPoint
多路线分歧点信息.
Definition: TNKDriveCommonObj.h:664
TNKLocation
导航的定位信息.
Definition: TNKLocation.h:19
TNKPosMatchLocation
巡航定位信息
Definition: TNKDriveCommonObj.h:979
TNKRestrictionItem
交规信息基础类
Definition: TNKDriveCommonObj.h:764
TNKRouteFilterLink
被过滤的Link
Definition: TNKDriveCommonObj.h:899
TNKRoutePoint
路线上的坐标类
Definition: TNKCommonObj.h:50
TNKRouteRequest
算路请求类
Definition: TNKCommonObj.h:83
TNKTrafficLightCountdownMsg
红绿灯倒计时信息
Definition: TNKDriveCommonObj.h:928
TNKTruckRestrictionItem
违反货车规格限制信息
Definition: TNKDriveCommonObj.h:781
TNKTruckSearchOption
货车导航算路参数.
Definition: TNKDriveCommonObj.h:573
TNKTurnRestrictionItem
违反交规信息
Definition: TNKDriveCommonObj.h:813