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, copy, nullable) NSString *orderId;
326
330@property (nonatomic, assign) int navScene;
331
335@property (nonatomic, copy, nullable) NSString *userID;
336
340@property (nonatomic, copy, nullable) NSString *initialRouteID;
341
345@property (nonatomic, copy, nullable) NSString *initialRequestID;
346
347@end
348
352@interface TNKDriveRouteRequest: TNKRouteRequest
353
357@property (nonatomic, copy, nullable) NSArray<TNKSearchNavPoint *> *waypoints;
358
362@property (nonatomic, copy) TNKDriveRouteSearchOption *searchOption;
363
371- (int)setAvoidAreas:(NSArray<NSArray<TNKCoordinatePoint *> *> *)avoidAreas;
372
373@end
374
378@interface TNKDriveRoute : NSObject
379
383@property (nonatomic, readonly) NSString *recommendReason;
384
388@property (nonatomic, readonly) NSArray<TNKCoordinatePoint *> *routePoints;
389
393@property (nonatomic, readonly) NSString *routeID;
394
398@property (nonatomic, readonly) int totalDistance;
399
403@property (nonatomic, readonly) int totalTime;
404
408@property (nonatomic, readonly) int trafficLightCount;
409
413@property (nonatomic, readonly) int fee;
414
419@property (nonatomic, readonly) int tollDistance;
420
424@property (nonatomic, readonly) TNKSearchNavPoint *origin;
425
429@property (nonatomic, readonly) TNKSearchNavPoint *destination;
430
434@property (nonatomic, readonly, nullable) NSArray<TNKNavToWayPointInfo *> *waypoints;
435
439@property (nonatomic, readonly) NSArray <TNKRouteTrafficItem *> *routeTrafficItems;
440
444@property (nonatomic, readonly) NSArray <TNKSegmentItem *> *segmentItems;
445
449@property (nonatomic, readonly, nullable) NSArray <TNKDriveRouteExplain *> *routeExplainItems;
450
455@property (nonatomic, readonly, nullable) NSArray <TNKRoutePoint *> *trafficLights;
456
460@property (nonatomic, readonly, nullable) NSArray<TNKForkPoint *> *forkPoints;
461
466@property (nonatomic, readonly) int bkRecommendType;
467
472@property (nonatomic, readonly) NSArray<TNKTurnRestrictionItem *> *turnRestrictionItems;
473
478@property (nonatomic, readonly) NSArray<TNKTruckRestrictionItem *> *truckRestrictionItems;
479
484@property (nonatomic, readonly, nullable) NSArray<NSNumber *> *customTags;
485
490@property (nonatomic, readonly) TNKDriveLimitStatus limitStatus;
491
496@property (nonatomic, readonly) NSString *experienceRouteID;
497
498@end
499
503@interface TNKDriveRouteSearchResult : NSObject
504
508@property (nonatomic, readonly) NSArray<TNKDriveRoute *> *routes;
509
513@property (nonatomic, readonly) BOOL isSearchByRouteIDWorking;
514
518@property (nonatomic, readonly) BOOL hitEndAdsorbExtStrategy;
519
524@property (nonatomic, readonly) NSString *naviSessionID;
525
526
528@property (nonatomic, readonly, nullable) TNKCustomRouteReason *customRouteReason;
529
530@end
531
532
533 typedef enum _TNKTruckType
534{
535 TNKTruckTypeMiniTruck = 1,
536 TNKTruckTypeLightTruck = 2,
537 TNKTruckTypeMediumTruck = 3,
538 TNKTruckTypeHeavyTruck = 4,
539} TNKTruckType;
540
541
542 typedef enum _TNKTruckTrailerType
543{
544 TNKTruckTrailerTypeUnknown = 0,
545 TNKTruckTrailerTypeFlatbed,
546 TNKTruckTrailerTypeContainer,
547 TNKTruckTrailerTypeSemi,
548 TNKTruckTrailerTypeFull,
549} TNKTruckTrailerType;
550
551 typedef enum _TNKTruckPlateColor
552{
553 TNKTruckPlateColorUnknown = 0,
554 TNKTruckPlateColorBlue,
555 TNKTruckPlateColorYellow,
556 TNKTruckPlateColorBlack,
557 TNKTruckPlateColorWhite,
558 TNKTruckPlateColorGreen,
559 TNKTruckPlateColorYellowGreen,
560} TNKTruckPlateColor;
561
562
563 typedef enum _TNKTruckFunctionType
564{
565 TNKTruckFunctionTypeNormal = 0,
566 TNKTruckFunctionTypeDanger,
567} TNKTruckFunctionType;
568
569 typedef enum _TNKEmissionStandard
570{
571 TNKEmissionStandardUnknown = 0,
572 TNKEmissionStandardI,
573 TNKEmissionStandardII,
574 TNKEmissionStandardIII,
575 TNKEmissionStandardIV,
576 TNKEmissionStandardV,
577 TNKEmissionStandardVI,
578} TNKEmissionStandard;
579
580 typedef enum _TNKTruckPassType
581{
582 TNKTruckPassTypeNoNeed,
583 TNKTruckPassTypeHave,
584 TNKTruckPassTypeNotHave,
585 TNKTruckPassTypeApproval,
586} TNKTruckPassType;
587
588
589 typedef enum _TNKTruckRestrictionType
590{
591 TNKTruckRestrictionTypeNone = 0,
592 TNKTruckRestrictionTypeWidth = 1,
593 TNKTruckRestrictionTypeHeight = 2,
594 TNKTruckRestrictionTypeLength = 3,
595 TNKTruckRestrictionTypeWeight = 4,
596 TNKTruckRestrictionTypeDanger = 5,
597} TNKTruckRestrictionType;
598
603@interface TNKTruckSearchOption : NSObject<NSCopying>
604
608@property (nonatomic, assign) TNKTruckType truckType;
609
613@property (nonatomic, assign) float length;
614
618@property (nonatomic, assign) float width;
619
623@property (nonatomic, assign) float height;
624
628@property (nonatomic, assign) float weight;
629
633@property (nonatomic, assign) float load;
634
638@property (nonatomic, assign) int axisCount;
639
643@property (nonatomic, assign) float axisLoad;
644
648@property (nonatomic, assign) TNKTruckTrailerType trailerType;
649
653@property (nonatomic, assign) TNKTruckPlateColor plateColor;
654
658@property (nonatomic, assign) TNKEnergyType energyType;
659
663@property (nonatomic, assign) TNKTruckFunctionType functionType;
664
668@property (nonatomic, assign) TNKEmissionStandard emissionStandard;
669
673@property (nonatomic, assign) TNKTruckPassType passType;
674
678@property (nonatomic, assign) BOOL willIgnoreWeight;
679
680
685@property (nonatomic, assign) BOOL needExperienceRoute;
686
687@end
688
693@interface TNKMotoSearchOption : NSObject<NSCopying>
694
698@property (nonatomic, assign) TNKEnergyType energyType;
699
703@property (nonatomic, assign) int engineDisplacement;
704
705@end
706
711@interface TNKForkPoint : NSObject
712
716@property (nonatomic, readonly) CLLocationCoordinate2D coord;
720@property (nonatomic, readonly) int pointIndex;
724@property (nonatomic, readonly) NSString *forkRouteID;
725
726@end
727
728
732@interface TNKDriveNavRoute : NSObject
733
734- (instancetype)init NS_UNAVAILABLE;
735
737- (instancetype)initWithSearchRoute:(TNKDriveRoute *)searchRoute;
738
742@property (nonatomic, readonly) TNKDriveRoute *searchRoute;
743
747@property (nonatomic, readonly) int remainingDistance;
748
752@property (nonatomic, readonly) int remainingTime;
753
757@property (nonatomic, readonly) int remainingTimeInSeconds;
758
762@property (nonatomic, readonly) NSArray<TNKRouteTrafficItem *> *curTrafficItems;
763
767@property (nonatomic, readonly, nullable) TNKLocation *location;
768
772@property (nonatomic, readonly) int distBetweenOrginAndRouteFistPoint;
773
774@end
775
779@interface TNKNavCameraInfo : NSObject
780
784@property (nonatomic, assign) TNKCameraType type;
785
789@property (nonatomic, strong) TNKRoutePoint *routePoint;
790
794@property (nonatomic, assign) int distance;
795
799@property (nonatomic, assign) int limitSpeed;
800
804@property (nonatomic, assign) int speedZoneLimitLength;
805
806@end
807
811@interface TNKRestrictionItem : NSObject
812
816@property (nonatomic, readonly) TNKRoutePoint *routePoint;
817
821@property (nonatomic, readonly) NSString *roadName;
822
823@end
824
828@interface TNKTruckRestrictionItem : TNKRestrictionItem
829
833@property (nonatomic, readonly) TNKTruckRestrictionType type;
834
838@property (nonatomic, readonly) float limitWidth;
839
843@property (nonatomic, readonly) float limitHeight;
844
848@property (nonatomic, readonly) float limitLength;
849
853@property (nonatomic, readonly) float limitWeight;
854
855@end
856
860@interface TNKTurnRestrictionItem : TNKRestrictionItem
861
865@property (nonatomic, readonly) TNKTurnRestrictionType type;
866
870@property (nonatomic, readonly) BOOL always;
871
875@property (nonatomic, readonly) NSString *timeDesc;
876
880@property (nonatomic, readonly) int limitCarType;
881
882@end
883
887@interface TNKNavRestrictionItem : NSObject
888
892@property (nonatomic, strong, readonly) TNKRestrictionItem *restrictionItem;
893
897@property (nonatomic, readonly) int distance;
898
899@end
900
904@interface TNKTruckNavRestrictionItem : TNKNavRestrictionItem
905
909@property (nonatomic, strong, readonly) TNKTruckRestrictionItem *truckRestrictionItem;
910
911@end
912
916@interface TNKTurnNavRestrictionItem : TNKNavRestrictionItem
917
921@property (nonatomic, strong, readonly) TNKTurnRestrictionItem *turnRestrictionItem;
922
923@end
924
928@interface TNKNavRestrictionInfo : NSObject
929
933@property (nonatomic, readonly) NSArray<TNKTruckNavRestrictionItem *> *truckNavRestrictionItems;
934
938@property (nonatomic, readonly) NSArray<TNKTurnNavRestrictionItem *> *turnNavRestrictionItems;
939
940@end
941
942
946@interface TNKRouteFilterLink : NSObject
947
949@property (nonatomic, readonly) NSString *linkID;
950
952@property (nonatomic, readonly) int filterType;
953
955@property (nonatomic, readonly) CLLocationCoordinate2D coord;
956
957@end
958
959
960@interface TNKCustomRouteReason : NSObject
961
965@property (nonatomic, readonly) NSArray<TNKRouteFilterLink *> *filterLinks;
966
970@property (nonatomic, readonly) int customerState;
971
972@end
973
975@interface TNKTrafficLightCountdownMsg : NSObject
976
978@property (nonatomic, readonly) TNKRoutePoint *routePoint;
980@property (nonatomic, readonly) TNKTrafficLightType trafficLightType;
982@property (nonatomic, readonly) int endTimestamp;
984@property (nonatomic, readonly) TNKTrafficLightType nextTrafficLightType;
986@property (nonatomic, readonly) int nextEndTimestamp;
987
988@end
989
990
994@interface TNKNavRoadMatchResult : NSObject
995
999@property (nonatomic, readonly) TNKRoadMatchStatus roadMatchStatus;
1000
1004@property (nonatomic, readonly) CLLocation *mactchLocation;
1005
1009@property (nonatomic, readonly) TNKRoadGrade roadGrade;
1010
1014@property (nonatomic, readonly) TNKRoadKind roadKind;
1015
1019@property (nonatomic, readonly) double roadDir;
1020
1021@end
1022
1026@interface TNKPosMatchLocation: NSObject
1027
1031@property (nonatomic, readonly) TencentLBSLocation *origLocation;
1032
1036@property (nonatomic, readonly) TNKNavRoadMatchResult *roadMatchResult;
1037
1038
1039@end
1040
1041
1042NS_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:534
TNKTruckTypeMiniTruck
@ TNKTruckTypeMiniTruck
微型车
Definition: TNKDriveCommonObj.h:535
TNKTruckTypeMediumTruck
@ TNKTruckTypeMediumTruck
中型车
Definition: TNKDriveCommonObj.h:537
TNKTruckTypeHeavyTruck
@ TNKTruckTypeHeavyTruck
重型车
Definition: TNKDriveCommonObj.h:538
TNKTruckTypeLightTruck
@ TNKTruckTypeLightTruck
轻型车 （默认）
Definition: TNKDriveCommonObj.h:536
_TNKTruckPassType
_TNKTruckPassType
Definition: TNKDriveCommonObj.h:581
TNKTruckPassTypeNotHave
@ TNKTruckPassTypeNotHave
无通行证
Definition: TNKDriveCommonObj.h:584
TNKTruckPassTypeApproval
@ TNKTruckPassTypeApproval
预约通行证
Definition: TNKDriveCommonObj.h:585
TNKTruckPassTypeNoNeed
@ TNKTruckPassTypeNoNeed
不需要
Definition: TNKDriveCommonObj.h:582
TNKTruckPassTypeHave
@ TNKTruckPassTypeHave
有通行证
Definition: TNKDriveCommonObj.h:583
TNKDriveRouteSearchErrorCode
enum _TNKDriveRouteSearchErrorCode TNKDriveRouteSearchErrorCode
路线规划的错误码
_TNKTruckFunctionType
_TNKTruckFunctionType
Definition: TNKDriveCommonObj.h:564
TNKTruckFunctionTypeDanger
@ TNKTruckFunctionTypeDanger
危险品
Definition: TNKDriveCommonObj.h:566
TNKTruckFunctionTypeNormal
@ TNKTruckFunctionTypeNormal
常规
Definition: TNKDriveCommonObj.h:565
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:570
TNKEmissionStandardIII
@ TNKEmissionStandardIII
国三
Definition: TNKDriveCommonObj.h:574
TNKEmissionStandardIV
@ TNKEmissionStandardIV
国四
Definition: TNKDriveCommonObj.h:575
TNKEmissionStandardI
@ TNKEmissionStandardI
国一
Definition: TNKDriveCommonObj.h:572
TNKEmissionStandardII
@ TNKEmissionStandardII
国二
Definition: TNKDriveCommonObj.h:573
TNKEmissionStandardV
@ TNKEmissionStandardV
国五
Definition: TNKDriveCommonObj.h:576
TNKEmissionStandardUnknown
@ TNKEmissionStandardUnknown
未知
Definition: TNKDriveCommonObj.h:571
TNKEmissionStandardVI
@ TNKEmissionStandardVI
国六
Definition: TNKDriveCommonObj.h:577
_TNKTruckRestrictionType
_TNKTruckRestrictionType
Definition: TNKDriveCommonObj.h:590
TNKTruckRestrictionTypeDanger
@ TNKTruckRestrictionTypeDanger
限制危险品
Definition: TNKDriveCommonObj.h:596
TNKTruckRestrictionTypeHeight
@ TNKTruckRestrictionTypeHeight
限高
Definition: TNKDriveCommonObj.h:593
TNKTruckRestrictionTypeWidth
@ TNKTruckRestrictionTypeWidth
限宽
Definition: TNKDriveCommonObj.h:592
TNKTruckRestrictionTypeWeight
@ TNKTruckRestrictionTypeWeight
限重
Definition: TNKDriveCommonObj.h:595
TNKTruckRestrictionTypeLength
@ TNKTruckRestrictionTypeLength
限长
Definition: TNKDriveCommonObj.h:594
TNKTruckRestrictionTypeNone
@ TNKTruckRestrictionTypeNone
无限制
Definition: TNKDriveCommonObj.h:591
NS_OPTIONS
typedef NS_OPTIONS(NSUInteger, TNKDriveLimitStatus)
驾车限行类型
Definition: TNKDriveCommonObj.h:127
_TNKTruckPlateColor
_TNKTruckPlateColor
Definition: TNKDriveCommonObj.h:552
TNKTruckPlateColorYellowGreen
@ TNKTruckPlateColorYellowGreen
黄绿
Definition: TNKDriveCommonObj.h:559
TNKTruckPlateColorYellow
@ TNKTruckPlateColorYellow
黄色
Definition: TNKDriveCommonObj.h:555
TNKTruckPlateColorGreen
@ TNKTruckPlateColorGreen
绿色
Definition: TNKDriveCommonObj.h:558
TNKTruckPlateColorUnknown
@ TNKTruckPlateColorUnknown
未知
Definition: TNKDriveCommonObj.h:553
TNKTruckPlateColorBlack
@ TNKTruckPlateColorBlack
黑色
Definition: TNKDriveCommonObj.h:556
TNKTruckPlateColorBlue
@ TNKTruckPlateColorBlue
蓝色
Definition: TNKDriveCommonObj.h:554
TNKTruckPlateColorWhite
@ TNKTruckPlateColorWhite
白色
Definition: TNKDriveCommonObj.h:557
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:543
TNKTruckTrailerTypeUnknown
@ TNKTruckTrailerTypeUnknown
未知
Definition: TNKDriveCommonObj.h:544
TNKTruckTrailerTypeSemi
@ TNKTruckTrailerTypeSemi
半挂
Definition: TNKDriveCommonObj.h:547
TNKTruckTrailerTypeFlatbed
@ TNKTruckTrailerTypeFlatbed
平板
Definition: TNKDriveCommonObj.h:545
TNKTruckTrailerTypeFull
@ TNKTruckTrailerTypeFull
全挂
Definition: TNKDriveCommonObj.h:548
TNKTruckTrailerTypeContainer
@ TNKTruckTrailerTypeContainer
箱货
Definition: TNKDriveCommonObj.h:546
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:961
TNKDriveRoute
算路的路线数据类
Definition: TNKDriveCommonObj.h:379
TNKDriveRouteRequest
驾车算路请求类
Definition: TNKDriveCommonObj.h:353
TNKDriveRouteSearchOption
驾车路径规划算路策略
Definition: TNKDriveCommonObj.h:200
TNKDriveRouteSearchResult
驾车算路返回数据类
Definition: TNKDriveCommonObj.h:504
TNKForkPoint
多路线分歧点信息.
Definition: TNKDriveCommonObj.h:712
TNKLocation
导航的定位信息.
Definition: TNKLocation.h:19
TNKMotoSearchOption
摩托车导航算路参数.
Definition: TNKDriveCommonObj.h:693
TNKPosMatchLocation
巡航定位信息
Definition: TNKDriveCommonObj.h:1027
TNKRestrictionItem
交规信息基础类
Definition: TNKDriveCommonObj.h:812
TNKRouteFilterLink
被过滤的Link
Definition: TNKDriveCommonObj.h:947
TNKRoutePoint
路线上的坐标类
Definition: TNKCommonObj.h:50
TNKRouteRequest
算路请求类
Definition: TNKCommonObj.h:83
TNKTrafficLightCountdownMsg
红绿灯倒计时信息
Definition: TNKDriveCommonObj.h:976
TNKTruckRestrictionItem
违反货车规格限制信息
Definition: TNKDriveCommonObj.h:829
TNKTruckSearchOption
货车导航算路参数.
Definition: TNKDriveCommonObj.h:603
TNKTurnRestrictionItem
违反交规信息
Definition: TNKDriveCommonObj.h:861