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/*------------------------------------导航过程------------------------------------*/
145
149@interface TNKNavStartFailInfo : NSObject
150
154@property (nonatomic, assign) int code;
155
159@property (nonatomic, copy) NSString *msg;
160
164@property (nonatomic, copy) NSString *routeID;
165
166@end
167 typedef enum _TNKRoadMatchStatus
168{
169 TNKRoadMatchStatusNull = -1,
170 TNKRoadMatchStatusOffRoute = 0,
171 TNKRoadMatchStatusOnRoute = 1,
172} TNKRoadMatchStatus;
173
174
175
179@interface TNKDriveRouteSearchOption : NSObject<NSCopying>
180
184@property (nonatomic, assign) BOOL avoidToll;
185
189@property (nonatomic, assign) BOOL avoidHighway;
190
194@property (nonatomic, assign) BOOL avoidTrafficJam;
195
199@property (nonatomic, assign) BOOL highway;
200
204@property (nonatomic, assign) BOOL shortTime;
205
209@property (nonatomic, assign) BOOL isShortDistance;
210
214@property (nonatomic, assign) BOOL bigRoad;
215
219@property (nonatomic, assign) TNKRoadType startRoadType;
220
224@property (nonatomic, copy, nullable) NSString *carNumber;
225
230@property (nonatomic, assign) BOOL greenCar;
231
236@property (nonatomic, assign) BOOL searchMultiRoutes;
237
241@property (nonatomic, copy, nullable) NSArray<TencentLBSLocation *> *preLocations;
242
247@property (nonatomic, assign) BOOL avoidLimit;
248
253@property (nonatomic, assign) TNKSliceType sliceType;
254
255
256/*------------------------------------货车导航参数------------------------------------*/
257
261@property (nonatomic, copy, nullable) TNKTruckSearchOption *truckSearchOption;
262
263
264/*------------------------------------出行场景参数------------------------------------*/
265
269@property (nonatomic, assign) int navScene;
270
274@property (nonatomic, copy, nullable) NSString *userID;
275
279@property (nonatomic, copy, nullable) NSString *initialRouteID;
280
284@property (nonatomic, copy, nullable) NSString *initialRequestID;
285
286@end
287
291@interface TNKDriveRouteRequest: TNKRouteRequest
292
296@property (nonatomic, copy, nullable) NSArray<TNKSearchNavPoint *> *waypoints;
297
301@property (nonatomic, copy) TNKDriveRouteSearchOption *searchOption;
302
310- (int)setAvoidAreas:(NSArray<NSArray<TNKCoordinatePoint *> *> *)avoidAreas;
311
312@end
313
317@interface TNKDriveRoute : NSObject
318
322@property (nonatomic, readonly) NSString *recommendReason;
323
327@property (nonatomic, readonly) NSArray<TNKCoordinatePoint *> *routePoints;
328
332@property (nonatomic, readonly) NSString *routeID;
333
337@property (nonatomic, readonly) int totalDistance;
338
342@property (nonatomic, readonly) int totalTime;
343
347@property (nonatomic, readonly) int trafficLightCount;
348
352@property (nonatomic, readonly) int fee;
353
358@property (nonatomic, readonly) int tollDistance;
359
363@property (nonatomic, readonly) TNKSearchNavPoint *origin;
364
368@property (nonatomic, readonly) TNKSearchNavPoint *destination;
369
373@property (nonatomic, readonly, nullable) NSArray<TNKNavToWayPointInfo *> *waypoints;
374
378@property (nonatomic, readonly) NSArray <TNKRouteTrafficItem *> *routeTrafficItems;
379
383@property (nonatomic, readonly) NSArray <TNKSegmentItem *> *segmentItems;
384
388@property (nonatomic, readonly, nullable) NSArray <TNKDriveRouteExplain *> *routeExplainItems;
389
394@property (nonatomic, readonly, nullable) NSArray <TNKRoutePoint *> *trafficLights;
395
399@property (nonatomic, readonly, nullable) NSArray<TNKForkPoint *> *forkPoints;
400
405@property (nonatomic, readonly) int bkRecommendType;
406
411@property (nonatomic, readonly) NSArray<TNKTurnRestrictionItem *> *turnRestrictionItems;
412
417@property (nonatomic, readonly) NSArray<TNKTruckRestrictionItem *> *truckRestrictionItems;
418
423@property (nonatomic, readonly, nullable) NSArray<NSNumber *> *customTags;
424
429@property (nonatomic, readonly) TNKDriveLimitStatus limitStatus;
430
435@property (nonatomic, readonly) NSString *experienceRouteID;
436
437@end
438
442@interface TNKDriveRouteSearchResult : NSObject
443
447@property (nonatomic, readonly) NSArray<TNKDriveRoute *> *routes;
448
452@property (nonatomic, readonly) BOOL isSearchByRouteIDWorking;
453
457@property (nonatomic, readonly) BOOL hitEndAdsorbExtStrategy;
458
463@property (nonatomic, readonly) NSString *naviSessionID;
464
465
467@property (nonatomic, readonly, nullable) TNKCustomRouteReason *customRouteReason;
468
469@end
470
471
472 typedef enum _TNKTruckType
473{
474 TNKTruckTypeMiniTruck = 1,
475 TNKTruckTypeLightTruck = 2,
476 TNKTruckTypeMediumTruck = 3,
477 TNKTruckTypeHeavyTruck = 4,
478} TNKTruckType;
479
480
481 typedef enum _TNKTruckTrailerType
482{
483 TNKTruckTrailerTypeUnknown = 0,
484 TNKTruckTrailerTypeFlatbed,
485 TNKTruckTrailerTypeContainer,
486 TNKTruckTrailerTypeSemi,
487 TNKTruckTrailerTypeFull,
488} TNKTruckTrailerType;
489
490 typedef enum _TNKTruckPlateColor
491{
492 TNKTruckPlateColorUnknown = 0,
493 TNKTruckPlateColorBlue,
494 TNKTruckPlateColorYellow,
495 TNKTruckPlateColorBlack,
496 TNKTruckPlateColorWhite,
497 TNKTruckPlateColorGreen,
498 TNKTruckPlateColorYellowGreen,
499} TNKTruckPlateColor;
500
501 typedef enum _TNKEnergyType
502{
503 TNKEnergyTypeUnknown = 0,
504 TNKEnergyTypeDiesel,
505 TNKEnergyTypeHybird,
506 TNKEnergyTypeElectric,
507 TNKEnergyTypeGas,
508} TNKEnergyType;
509
510 typedef enum _TNKTruckFunctionType
511{
512 TNKTruckFunctionTypeNormal = 0,
513 TNKTruckFunctionTypeDanger,
514} TNKTruckFunctionType;
515
516 typedef enum _TNKEmissionStandard
517{
518 TNKEmissionStandardUnknown = 0,
519 TNKEmissionStandardI,
520 TNKEmissionStandardII,
521 TNKEmissionStandardIII,
522 TNKEmissionStandardIV,
523 TNKEmissionStandardV,
524 TNKEmissionStandardVI,
525} TNKEmissionStandard;
526
527 typedef enum _TNKTruckPassType
528{
529 TNKTruckPassTypeNoNeed,
530 TNKTruckPassTypeHave,
531 TNKTruckPassTypeNotHave,
532 TNKTruckPassTypeApproval,
533} TNKTruckPassType;
534
535
536 typedef enum _TNKTruckRestrictionType
537{
538 TNKTruckRestrictionTypeNone = 0,
539 TNKTruckRestrictionTypeWidth = 1,
540 TNKTruckRestrictionTypeHeight = 2,
541 TNKTruckRestrictionTypeLength = 3,
542 TNKTruckRestrictionTypeWeight = 4,
543 TNKTruckRestrictionTypeDanger = 5,
544} TNKTruckRestrictionType;
545
550@interface TNKTruckSearchOption : NSObject<NSCopying>
551
555@property (nonatomic, assign) TNKTruckType truckType;
556
560@property (nonatomic, assign) float length;
561
565@property (nonatomic, assign) float width;
566
570@property (nonatomic, assign) float height;
571
575@property (nonatomic, assign) float weight;
576
580@property (nonatomic, assign) float load;
581
585@property (nonatomic, assign) int axisCount;
586
590@property (nonatomic, assign) float axisLoad;
591
595@property (nonatomic, assign) TNKTruckTrailerType trailerType;
596
600@property (nonatomic, assign) TNKTruckPlateColor plateColor;
601
605@property (nonatomic, assign) TNKEnergyType energyType;
606
610@property (nonatomic, assign) TNKTruckFunctionType functionType;
611
615@property (nonatomic, assign) TNKEmissionStandard emissionStandard;
616
620@property (nonatomic, assign) TNKTruckPassType passType;
621
625@property (nonatomic, assign) BOOL willIgnoreWeight;
626
627
632@property (nonatomic, assign) BOOL needExperienceRoute;
633
634@end
635
640@interface TNKForkPoint : NSObject
641
645@property (nonatomic, readonly) CLLocationCoordinate2D coord;
649@property (nonatomic, readonly) int pointIndex;
653@property (nonatomic, readonly) NSString *forkRouteID;
654
655@end
656
657
661@interface TNKDriveNavRoute : NSObject
662
663- (instancetype)init NS_UNAVAILABLE;
664
666- (instancetype)initWithSearchRoute:(TNKDriveRoute *)searchRoute;
667
671@property (nonatomic, readonly) TNKDriveRoute *searchRoute;
672
676@property (nonatomic, readonly) int remainingDistance;
677
681@property (nonatomic, readonly) int remainingTime;
682
686@property (nonatomic, readonly) int remainingTimeInSeconds;
687
691@property (nonatomic, readonly) NSArray<TNKRouteTrafficItem *> *curTrafficItems;
692
696@property (nonatomic, readonly, nullable) TNKLocation *location;
697
701@property (nonatomic, readonly) int distBetweenOrginAndRouteFistPoint;
702
703@end
704
708@interface TNKNavCameraInfo : NSObject
709
713@property (nonatomic, assign) TNKCameraType type;
714
718@property (nonatomic, strong) TNKRoutePoint *routePoint;
719
723@property (nonatomic, assign) int distance;
724
728@property (nonatomic, assign) int limitSpeed;
729
733@property (nonatomic, assign) int speedZoneLimitLength;
734
735@end
736
740@interface TNKRestrictionItem : NSObject
741
745@property (nonatomic, readonly) TNKRoutePoint *routePoint;
746
750@property (nonatomic, readonly) NSString *roadName;
751
752@end
753
757@interface TNKTruckRestrictionItem : TNKRestrictionItem
758
762@property (nonatomic, readonly) TNKTruckRestrictionType type;
763
767@property (nonatomic, readonly) float limitWidth;
768
772@property (nonatomic, readonly) float limitHeight;
773
777@property (nonatomic, readonly) float limitLength;
778
782@property (nonatomic, readonly) float limitWeight;
783
784@end
785
789@interface TNKTurnRestrictionItem : TNKRestrictionItem
790
794@property (nonatomic, readonly) TNKTurnRestrictionType type;
795
799@property (nonatomic, readonly) BOOL always;
800
804@property (nonatomic, readonly) NSString *timeDesc;
805
809@property (nonatomic, readonly) int limitCarType;
810
811@end
812
816@interface TNKNavRestrictionItem : NSObject
817
821@property (nonatomic, strong, readonly) TNKRestrictionItem *restrictionItem;
822
826@property (nonatomic, readonly) int distance;
827
828@end
829
833@interface TNKTruckNavRestrictionItem : TNKNavRestrictionItem
834
838@property (nonatomic, strong, readonly) TNKTruckRestrictionItem *truckRestrictionItem;
839
840@end
841
845@interface TNKTurnNavRestrictionItem : TNKNavRestrictionItem
846
850@property (nonatomic, strong, readonly) TNKTurnRestrictionItem *turnRestrictionItem;
851
852@end
853
857@interface TNKNavRestrictionInfo : NSObject
858
862@property (nonatomic, readonly) NSArray<TNKTruckNavRestrictionItem *> *truckNavRestrictionItems;
863
867@property (nonatomic, readonly) NSArray<TNKTurnNavRestrictionItem *> *turnNavRestrictionItems;
868
869@end
870
871
875@interface TNKRouteFilterLink : NSObject
876
878@property (nonatomic, readonly) NSString *linkID;
879
881@property (nonatomic, readonly) int filterType;
882
884@property (nonatomic, readonly) CLLocationCoordinate2D coord;
885
886@end
887
888
889@interface TNKCustomRouteReason : NSObject
890
894@property (nonatomic, readonly) NSArray<TNKRouteFilterLink *> *filterLinks;
895
899@property (nonatomic, readonly) int customerState;
900
901@end
902
904@interface TNKTrafficLightCountdownMsg : NSObject
905
907@property (nonatomic, readonly) TNKRoutePoint *routePoint;
909@property (nonatomic, readonly) TNKTrafficLightType trafficLightType;
911@property (nonatomic, readonly) int endTimestamp;
913@property (nonatomic, readonly) TNKTrafficLightType nextTrafficLightType;
915@property (nonatomic, readonly) int nextEndTimestamp;
916
917@end
918
919
923@interface TNKNavRoadMatchResult : NSObject
924
928@property (nonatomic, readonly) TNKRoadMatchStatus roadMatchStatus;
929
933@property (nonatomic, readonly) CLLocation *mactchLocation;
934
938@property (nonatomic, readonly) TNKRoadGrade roadGrade;
939
943@property (nonatomic, readonly) TNKRoadKind roadKind;
944
948@property (nonatomic, readonly) double roadDir;
949
950@end
951
955@interface TNKPosMatchLocation: NSObject
956
960@property (nonatomic, readonly) TencentLBSLocation *origLocation;
961
965@property (nonatomic, readonly) TNKNavRoadMatchResult *roadMatchResult;
966
967
968@end
969
970
971NS_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:473
TNKTruckTypeMiniTruck
@ TNKTruckTypeMiniTruck
微型车
Definition: TNKDriveCommonObj.h:474
TNKTruckTypeMediumTruck
@ TNKTruckTypeMediumTruck
中型车
Definition: TNKDriveCommonObj.h:476
TNKTruckTypeHeavyTruck
@ TNKTruckTypeHeavyTruck
重型车
Definition: TNKDriveCommonObj.h:477
TNKTruckTypeLightTruck
@ TNKTruckTypeLightTruck
轻型车 （默认）
Definition: TNKDriveCommonObj.h:475
_TNKTruckPassType
_TNKTruckPassType
Definition: TNKDriveCommonObj.h:528
TNKTruckPassTypeNotHave
@ TNKTruckPassTypeNotHave
无通行证
Definition: TNKDriveCommonObj.h:531
TNKTruckPassTypeApproval
@ TNKTruckPassTypeApproval
预约通行证
Definition: TNKDriveCommonObj.h:532
TNKTruckPassTypeNoNeed
@ TNKTruckPassTypeNoNeed
不需要
Definition: TNKDriveCommonObj.h:529
TNKTruckPassTypeHave
@ TNKTruckPassTypeHave
有通行证
Definition: TNKDriveCommonObj.h:530
TNKDriveRouteSearchErrorCode
enum _TNKDriveRouteSearchErrorCode TNKDriveRouteSearchErrorCode
路线规划的错误码
_TNKTruckFunctionType
_TNKTruckFunctionType
Definition: TNKDriveCommonObj.h:511
TNKTruckFunctionTypeDanger
@ TNKTruckFunctionTypeDanger
危险品
Definition: TNKDriveCommonObj.h:513
TNKTruckFunctionTypeNormal
@ TNKTruckFunctionTypeNormal
常规
Definition: TNKDriveCommonObj.h:512
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:517
TNKEmissionStandardIII
@ TNKEmissionStandardIII
国三
Definition: TNKDriveCommonObj.h:521
TNKEmissionStandardIV
@ TNKEmissionStandardIV
国四
Definition: TNKDriveCommonObj.h:522
TNKEmissionStandardI
@ TNKEmissionStandardI
国一
Definition: TNKDriveCommonObj.h:519
TNKEmissionStandardII
@ TNKEmissionStandardII
国二
Definition: TNKDriveCommonObj.h:520
TNKEmissionStandardV
@ TNKEmissionStandardV
国五
Definition: TNKDriveCommonObj.h:523
TNKEmissionStandardUnknown
@ TNKEmissionStandardUnknown
未知
Definition: TNKDriveCommonObj.h:518
TNKEmissionStandardVI
@ TNKEmissionStandardVI
国六
Definition: TNKDriveCommonObj.h:524
_TNKTruckRestrictionType
_TNKTruckRestrictionType
Definition: TNKDriveCommonObj.h:537
TNKTruckRestrictionTypeDanger
@ TNKTruckRestrictionTypeDanger
限制危险品
Definition: TNKDriveCommonObj.h:543
TNKTruckRestrictionTypeHeight
@ TNKTruckRestrictionTypeHeight
限高
Definition: TNKDriveCommonObj.h:540
TNKTruckRestrictionTypeWidth
@ TNKTruckRestrictionTypeWidth
限宽
Definition: TNKDriveCommonObj.h:539
TNKTruckRestrictionTypeWeight
@ TNKTruckRestrictionTypeWeight
限重
Definition: TNKDriveCommonObj.h:542
TNKTruckRestrictionTypeLength
@ TNKTruckRestrictionTypeLength
限长
Definition: TNKDriveCommonObj.h:541
TNKTruckRestrictionTypeNone
@ TNKTruckRestrictionTypeNone
无限制
Definition: TNKDriveCommonObj.h:538
NS_OPTIONS
typedef NS_OPTIONS(NSUInteger, TNKDriveLimitStatus)
驾车限行类型
Definition: TNKDriveCommonObj.h:126
_TNKTruckPlateColor
_TNKTruckPlateColor
Definition: TNKDriveCommonObj.h:491
TNKTruckPlateColorYellowGreen
@ TNKTruckPlateColorYellowGreen
黄绿
Definition: TNKDriveCommonObj.h:498
TNKTruckPlateColorYellow
@ TNKTruckPlateColorYellow
黄色
Definition: TNKDriveCommonObj.h:494
TNKTruckPlateColorGreen
@ TNKTruckPlateColorGreen
绿色
Definition: TNKDriveCommonObj.h:497
TNKTruckPlateColorUnknown
@ TNKTruckPlateColorUnknown
未知
Definition: TNKDriveCommonObj.h:492
TNKTruckPlateColorBlack
@ TNKTruckPlateColorBlack
黑色
Definition: TNKDriveCommonObj.h:495
TNKTruckPlateColorBlue
@ TNKTruckPlateColorBlue
蓝色
Definition: TNKDriveCommonObj.h:493
TNKTruckPlateColorWhite
@ TNKTruckPlateColorWhite
白色
Definition: TNKDriveCommonObj.h:496
TNKTurnRestrictionType
enum _TNKTurnRestrictionType TNKTurnRestrictionType
转向禁止类型
TNKEnergyType
enum _TNKEnergyType TNKEnergyType
能源类型
_TNKRoadMatchStatus
_TNKRoadMatchStatus
Definition: TNKDriveCommonObj.h:168
TNKRoadMatchStatusOffRoute
@ TNKRoadMatchStatusOffRoute
车标脱离
Definition: TNKDriveCommonObj.h:170
TNKRoadMatchStatusNull
@ TNKRoadMatchStatusNull
默认值
Definition: TNKDriveCommonObj.h:169
TNKRoadMatchStatusOnRoute
@ TNKRoadMatchStatusOnRoute
车标匹配在路上
Definition: TNKDriveCommonObj.h:171
TNKTruckRestrictionType
enum _TNKTruckRestrictionType TNKTruckRestrictionType
货车限制类型
TNKRoadType
enum _TNKRoadType TNKRoadType
路段的详细类型
_TNKEnergyType
_TNKEnergyType
Definition: TNKDriveCommonObj.h:502
TNKEnergyTypeElectric
@ TNKEnergyTypeElectric
纯电
Definition: TNKDriveCommonObj.h:506
TNKEnergyTypeUnknown
@ TNKEnergyTypeUnknown
未知
Definition: TNKDriveCommonObj.h:503
TNKEnergyTypeGas
@ TNKEnergyTypeGas
汽油
Definition: TNKDriveCommonObj.h:507
TNKEnergyTypeDiesel
@ TNKEnergyTypeDiesel
柴油
Definition: TNKDriveCommonObj.h:504
TNKEnergyTypeHybird
@ TNKEnergyTypeHybird
油电混动
Definition: TNKDriveCommonObj.h:505
TNKTruckTrailerType
enum _TNKTruckTrailerType TNKTruckTrailerType
拖挂类型
TNKEmissionStandard
enum _TNKEmissionStandard TNKEmissionStandard
排放标准
_TNKTruckTrailerType
_TNKTruckTrailerType
Definition: TNKDriveCommonObj.h:482
TNKTruckTrailerTypeUnknown
@ TNKTruckTrailerTypeUnknown
未知
Definition: TNKDriveCommonObj.h:483
TNKTruckTrailerTypeSemi
@ TNKTruckTrailerTypeSemi
半挂
Definition: TNKDriveCommonObj.h:486
TNKTruckTrailerTypeFlatbed
@ TNKTruckTrailerTypeFlatbed
平板
Definition: TNKDriveCommonObj.h:484
TNKTruckTrailerTypeFull
@ TNKTruckTrailerTypeFull
全挂
Definition: TNKDriveCommonObj.h:487
TNKTruckTrailerTypeContainer
@ TNKTruckTrailerTypeContainer
箱货
Definition: TNKDriveCommonObj.h:485
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:890
TNKDriveRoute
算路的路线数据类
Definition: TNKDriveCommonObj.h:318
TNKDriveRouteRequest
驾车算路请求类
Definition: TNKDriveCommonObj.h:292
TNKDriveRouteSearchOption
驾车路径规划算路策略
Definition: TNKDriveCommonObj.h:179
TNKDriveRouteSearchResult
驾车算路返回数据类
Definition: TNKDriveCommonObj.h:443
TNKForkPoint
多路线分歧点信息.
Definition: TNKDriveCommonObj.h:641
TNKLocation
导航的定位信息.
Definition: TNKLocation.h:19
TNKPosMatchLocation
巡航定位信息
Definition: TNKDriveCommonObj.h:956
TNKRestrictionItem
交规信息基础类
Definition: TNKDriveCommonObj.h:741
TNKRouteFilterLink
被过滤的Link
Definition: TNKDriveCommonObj.h:876
TNKRoutePoint
路线上的坐标类
Definition: TNKCommonObj.h:50
TNKRouteRequest
算路请求类
Definition: TNKCommonObj.h:83
TNKTrafficLightCountdownMsg
红绿灯倒计时信息
Definition: TNKDriveCommonObj.h:905
TNKTruckRestrictionItem
违反货车规格限制信息
Definition: TNKDriveCommonObj.h:758
TNKTruckSearchOption
货车导航算路参数.
Definition: TNKDriveCommonObj.h:550
TNKTurnRestrictionItem
违反交规信息
Definition: TNKDriveCommonObj.h:790