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@class TNKDestinationWalkSceneTips;
26
28 typedef NS_ENUM(NSInteger, TNKWalkSceneType) {
29 TNKWalkSceneTypeNone = 0,
30 TNKWalkSceneTypeIndoor = 1,
31 TNKWalkSceneTypeOutdoor = 2,
32};
33
38@interface TNKDestinationWalkSceneTips : NSObject
39
43@property (nonatomic, readonly) TNKWalkSceneType sceneType;
44
48@property (nonatomic, readonly) int distance;
49
53@property (nonatomic, readonly, nullable) NSString *popupTitle;
54
58@property (nonatomic, readonly, nullable) NSString *popupContent;
59
63@property (nonatomic, readonly, nullable) NSString *bubbleTitle;
64
68@property (nonatomic, readonly, nullable) NSString *bubbleContent;
69
70@end
71
72
76extern NSString * const TNKDriveRouteSearchErrorDomain;
77
78 typedef enum _TNKDriveRouteSearchErrorCode
79{
80 TNKDriveRouteSearchErrorCode_NetworkError = 1001,
81 TNKDriveRouteSearchErrorCode_NoNetwork = 1002,
82 TNKDriveRouteSearchErrorCode_RequestTimeOut = 1003,
83 TNKDriveRouteSearchErrorCode_DataInvalid = 2001,
84 TNKDriveRouteSearchErrorCode_StartDestPointError = 2002,
85 TNKDriveRouteSearchErrorCode_WayPointError = 2003,
86 TNKDriveRouteSearchErrorCode_AdsorptionFailed = 2004,
87 TNKDriveRouteSearchErrorCode_CalculateFailed = 2005,
88 TNKDriveRouteSearchErrorCode_InvalidKeyError = 2006,
89 TNKDriveRouteSearchErrorCode_NavigationParaInvalid = 2007,
90 TNKDriveRouteSearchErrorCode_ChangeRouteByRouteIDFailed = 2008,
91 TNKDriveRouteSearchErrorCode_Privacy_Failed = 2009,
92 TNKDriveRouteSearchErrorCode_ServerError = 2999
93} TNKDriveRouteSearchErrorCode;
94
95 typedef enum _TNKRoadType
96{
97 TNKRoadType_None = 0,
98 TNKRoadType_Elevated = 1,
99 TNKRoadType_Downstairs = 2,
100 TNKRoadType_MainRoad = 3,
101 TNKRoadType_ServingRoad = 4,
102 TNKRoadType_DirectionRoad = 5,
103 TNKRoadType_DownstairsMainRoad = 6,
104 TNKRoadType_DownstairsServingRoad = 7,
105} TNKRoadType;
106
107 typedef enum _TNKCameraType
108{
109 TNKCameraTypeNone = 0,
110 TNKCameraTypeRedLight = 1,
111 TNKCameraTypeElectronicMonitoring = 2,
112 TNKCameraTypeFixedSpeedTraps = 3,
113 TNKCameraTypeMobileSpeedZone = 4,
114 TNKCameraTypeBusOnlyWay = 5,
115 TNKCameraTypeOneWay = 6,
116 TNKCameraTypeEmergencyWay = 7,
117 TNKCameraTypeNoneMotorWay = 8,
118 TNKCameraTypeQujianEnter = 9,
119 TNKCameraTypeQujianExit = 10,
120 TNKCameraTypeHOV = 16,
121 TNKCameraTypeLaLian = 17,
122 TNKCameraTypeTailNumber = 21,
123 TNKCameraTypeGoToBeijing = 22,
124 TNKCameraTypeIllegalBlow = 23,
125 TNKCameraTypeBusStation = 24,
126 TNKCameraTypeForbiddenTure = 30,
127 TNKCameraTypeForbiddenLine = 31,
128 TNKCameraTypeForbiddenParking = 32,
129 TNKCameraTypeLowestSpeed = 33,
130 TNKCameraTypeAlterableSpeed = 34,
131 TNKCameraTypeLaneSpeed = 35,
132 TNKCameraTypeVehicelTypeSpeed = 36,
133 TNKCameraTypeLaneOccupy = 37,
134 TNKCameraTypeCrossing = 38,
135 TNKCameraTypeForbiddenSign = 39,
136 TNKCameraTypeForbiddenLight = 40,
137 TNKCameraTypeLifeBelt = 41,
138 TNKCameraTypeForbiddenCall = 42,
139 TNKCameraTypeLimitLine = 43,
140 TNKCameraTypePedestrainFirst = 44,
141 TNKCameraTypeAnnualInpection = 45,
142 TNKCameraTypeVehicelExhaust = 46,
143 TNKCameraTypeTraffic = 47,
144 TNKCameraTypeEntrance = 48,
145 TNKCameraTypeForbiddenUTurn = 49,
146 TNKCameraTypeEtcToll = 50,
147 TNKCameraTypeNotFollowGuideLane = 51,
148 TNKCameraTypeTrafficFlowMonitor = 52,
149 TNKCameraTypeKeepSafeDistance = 53,
150 TNKCameraTypeIllegalChangeLane = 54
151} TNKCameraType;
152
153
154 typedef enum _TNKTurnRestrictionType
155{
156 TNKTurnRestrictionTypeNone = 0,
157 TNKTurnRestrictionTypeLeft = 1,
158 TNKTurnRestrictionTypeRight = 2,
159 TNKTurnRestrictionTypeLeftUTurn = 3,
160 TNKTurnRestrictionTypeRightUTurn = 4,
161 TNKTurnRestrictionTypeStraight = 5,
162} TNKTurnRestrictionType;
163
164
165 typedef enum _TNKTrafficLightType
166{
167 TNKTrafficLightTypeNone = -1,
168 TNKTrafficLightTypeRed = 0,
169 TNKTrafficLightTypeGreen = 1,
170 TNKTrafficLightTypeYellow = 2,
171} TNKTrafficLightType;
172
174 typedef NS_OPTIONS(NSUInteger, TNKDriveLimitStatus) {
175 TNKDriveLimitStatusNone = 0,
176 TNKDriveLimitStatusAvoided = 1 << 0,
177 TNKDriveLimitStatusLimitAtStart = 1 << 1,
178 TNKDriveLimitStatusLimitAtEnd = 1 << 2,
179 TNKDriveLimitStatusThrough = 1 << 3,
180 TNKDriveLimitStatusCanAvoid = 1 << 4,
181};
182
183 typedef enum _TNKSliceType
184{
185 TNKSliceTypeNone = 0,
186 TNKSliceTypeTwo = 1,
187 TNKSliceTypeThree = 2,
188 TNKSliceTypeAuto = 9,
189} TNKSliceType;
190
191
192 typedef enum _TNKEnergyType
193{
194 TNKEnergyTypeUnknown = 0,
195 TNKEnergyTypeDiesel,
196 TNKEnergyTypeHybird,
197 TNKEnergyTypeElectric,
198 TNKEnergyTypeGas,
199} TNKEnergyType;
200
205 typedef enum _TNKLocationSourceType {
206 lowConf = 0,
207 gps = 3,
208 network = 10,
209 gpsDerived = 12,
210} TNKLocationSourceType;
211
212/*------------------------------------导航过程------------------------------------*/
213
217@interface TNKNavStartFailInfo : NSObject
218
222@property (nonatomic, assign) int code;
223
227@property (nonatomic, copy) NSString *msg;
228
232@property (nonatomic, copy) NSString *routeID;
233
234@end
235 typedef enum _TNKRoadMatchStatus
236{
237 TNKRoadMatchStatusNull = -1,
238 TNKRoadMatchStatusOffRoute = 0,
239 TNKRoadMatchStatusOnRoute = 1,
240} TNKRoadMatchStatus;
241
242
243
247@interface TNKDriveRouteSearchOption : NSObject<NSCopying>
248
252@property (nonatomic, assign) BOOL avoidToll;
253
257@property (nonatomic, assign) BOOL avoidHighway;
258
262@property (nonatomic, assign) BOOL avoidTrafficJam;
263
267@property (nonatomic, assign) BOOL highway;
268
272@property (nonatomic, assign) BOOL shortTime;
273
277@property (nonatomic, assign) BOOL isShortDistance;
278
282@property (nonatomic, assign) BOOL bigRoad;
283
287@property (nonatomic, assign) TNKRoadType startRoadType;
288
292@property (nonatomic, copy, nullable) NSString *carNumber;
293
298@property (nonatomic, assign) BOOL greenCar;
299
303@property (nonatomic, assign) TNKEnergyType carEnergyType;
304
309@property (nonatomic, assign) BOOL searchMultiRoutes;
310
314@property (nonatomic, copy, nullable) NSArray<TencentLBSLocation *> *preLocations;
315
319@property (nonatomic, copy, nullable) NSArray<TencentLBSLocation *> *routePointsLocations;
320
325@property (nonatomic, assign) BOOL routePointsIsSearch;
326
331@property (nonatomic, assign) BOOL routePointsIsReRouteSearch;
332
337@property (nonatomic, assign) BOOL avoidLimit;
338
343@property (nonatomic, assign) TNKSliceType sliceType;
344
345
346/*------------------------------------货车导航参数------------------------------------*/
347
351@property (nonatomic, copy, nullable) TNKTruckSearchOption *truckSearchOption;
352
353
354/*------------------------------------摩托车导航参数------------------------------------*/
355
359@property (nonatomic, copy, nullable) TNKMotoSearchOption *motoSearchOption;
360
361/*------------------------------------出行场景参数------------------------------------*/
362
363
367@property (nonatomic, assign) int orderSource;
368
372@property (nonatomic, copy, nullable) NSString *orderId;
373
377@property (nonatomic, assign) int navScene;
378
382@property (nonatomic, copy, nullable) NSString *userID;
383
387@property (nonatomic, copy, nullable) NSString *initialRouteID;
388
392@property (nonatomic, copy, nullable) NSString *initialRequestID;
393
394@end
395
399@interface TNKDriveRouteRequest: TNKRouteRequest
400
404@property (nonatomic, copy, nullable) NSArray<TNKSearchNavPoint *> *waypoints;
405
409@property (nonatomic, copy) TNKDriveRouteSearchOption *searchOption;
410
418- (int)setAvoidAreas:(NSArray<NSArray<TNKCoordinatePoint *> *> *)avoidAreas;
419
420@end
421
425@interface TNKDriveRoute : NSObject
426
430@property (nonatomic, readonly) NSString *recommendReason;
431
435@property (nonatomic, readonly) NSArray<TNKCoordinatePoint *> *routePoints;
436
440@property (nonatomic, readonly) NSString *routeID;
441
445@property (nonatomic, readonly) int totalDistance;
446
450@property (nonatomic, readonly) int totalTime;
451
455@property (nonatomic, readonly) int trafficLightCount;
456
460@property (nonatomic, readonly) int fee;
461
466@property (nonatomic, readonly) int tollDistance;
467
471@property (nonatomic, readonly) TNKSearchNavPoint *origin;
472
476@property (nonatomic, readonly) TNKSearchNavPoint *destination;
477
481@property (nonatomic, readonly, nullable) NSArray<TNKNavToWayPointInfo *> *waypoints;
482
486@property (nonatomic, readonly) NSArray <TNKRouteTrafficItem *> *routeTrafficItems;
487
491@property (nonatomic, readonly) NSArray <TNKSegmentItem *> *segmentItems;
492
496@property (nonatomic, readonly, nullable) NSArray <TNKDriveRouteExplain *> *routeExplainItems;
497
502@property (nonatomic, readonly, nullable) NSArray <TNKRoutePoint *> *trafficLights;
503
507@property (nonatomic, readonly, nullable) NSArray<TNKForkPoint *> *forkPoints;
508
513@property (nonatomic, readonly) int bkRecommendType;
514
519@property (nonatomic, readonly) NSArray<TNKTurnRestrictionItem *> *turnRestrictionItems;
520
525@property (nonatomic, readonly) NSArray<TNKTruckRestrictionItem *> *truckRestrictionItems;
526
531@property (nonatomic, readonly, nullable) NSArray<NSNumber *> *customTags;
532
537@property (nonatomic, readonly) TNKDriveLimitStatus limitStatus;
538
543@property (nonatomic, readonly) NSString *experienceRouteID;
544
549@property (nonatomic, readonly, nullable) TNKDestinationWalkSceneTips *walkSceneTips;
550
551@end
552
556@interface TNKDriveRouteSearchResult : NSObject
557
561@property (nonatomic, readonly) NSArray<TNKDriveRoute *> *routes;
562
566@property (nonatomic, readonly) BOOL isSearchByRouteIDWorking;
567
571@property (nonatomic, readonly) BOOL hitEndAdsorbExtStrategy;
572
577@property (nonatomic, readonly) NSString *naviSessionID;
578
579
581@property (nonatomic, readonly, nullable) TNKCustomRouteReason *customRouteReason;
582
583@end
584
585
586 typedef enum _TNKTruckType
587{
588 TNKTruckTypeMiniTruck = 1,
589 TNKTruckTypeLightTruck = 2,
590 TNKTruckTypeMediumTruck = 3,
591 TNKTruckTypeHeavyTruck = 4,
592} TNKTruckType;
593
594
595 typedef enum _TNKTruckTrailerType
596{
597 TNKTruckTrailerTypeUnknown = 0,
598 TNKTruckTrailerTypeFlatbed,
599 TNKTruckTrailerTypeContainer,
600 TNKTruckTrailerTypeSemi,
601 TNKTruckTrailerTypeFull,
602} TNKTruckTrailerType;
603
604 typedef enum _TNKTruckPlateColor
605{
606 TNKTruckPlateColorUnknown = 0,
607 TNKTruckPlateColorBlue,
608 TNKTruckPlateColorYellow,
609 TNKTruckPlateColorBlack,
610 TNKTruckPlateColorWhite,
611 TNKTruckPlateColorGreen,
612 TNKTruckPlateColorYellowGreen,
613} TNKTruckPlateColor;
614
615
616 typedef enum _TNKTruckFunctionType
617{
618 TNKTruckFunctionTypeNormal = 0,
619 TNKTruckFunctionTypeDanger,
620} TNKTruckFunctionType;
621
622 typedef enum _TNKEmissionStandard
623{
624 TNKEmissionStandardUnknown = 0,
625 TNKEmissionStandardI,
626 TNKEmissionStandardII,
627 TNKEmissionStandardIII,
628 TNKEmissionStandardIV,
629 TNKEmissionStandardV,
630 TNKEmissionStandardVI,
631} TNKEmissionStandard;
632
633 typedef enum _TNKTruckPassType
634{
635 TNKTruckPassTypeNoNeed,
636 TNKTruckPassTypeHave,
637 TNKTruckPassTypeNotHave,
638 TNKTruckPassTypeApproval,
639} TNKTruckPassType;
640
641
642 typedef enum _TNKTruckRestrictionType
643{
644 TNKTruckRestrictionTypeNone = 0,
645 TNKTruckRestrictionTypeWidth = 1,
646 TNKTruckRestrictionTypeHeight = 2,
647 TNKTruckRestrictionTypeLength = 3,
648 TNKTruckRestrictionTypeWeight = 4,
649 TNKTruckRestrictionTypeDanger = 5,
650} TNKTruckRestrictionType;
651
656@interface TNKTruckSearchOption : NSObject<NSCopying>
657
661@property (nonatomic, assign) TNKTruckType truckType;
662
666@property (nonatomic, assign) float length;
667
671@property (nonatomic, assign) float width;
672
676@property (nonatomic, assign) float height;
677
681@property (nonatomic, assign) float weight;
682
686@property (nonatomic, assign) float load;
687
691@property (nonatomic, assign) int axisCount;
692
696@property (nonatomic, assign) float axisLoad;
697
701@property (nonatomic, assign) TNKTruckTrailerType trailerType;
702
706@property (nonatomic, assign) TNKTruckPlateColor plateColor;
707
711@property (nonatomic, assign) TNKEnergyType energyType;
712
716@property (nonatomic, assign) TNKTruckFunctionType functionType;
717
721@property (nonatomic, assign) TNKEmissionStandard emissionStandard;
722
726@property (nonatomic, assign) TNKTruckPassType passType;
727
731@property (nonatomic, assign) BOOL willIgnoreWeight;
732
733
738@property (nonatomic, assign) BOOL needExperienceRoute;
739
740@end
741
746@interface TNKMotoSearchOption : NSObject<NSCopying>
747
751@property (nonatomic, assign) TNKEnergyType energyType;
752
756@property (nonatomic, assign) int engineDisplacement;
757
758@end
759
764@interface TNKForkPoint : NSObject
765
769@property (nonatomic, readonly) CLLocationCoordinate2D coord;
773@property (nonatomic, readonly) int pointIndex;
777@property (nonatomic, readonly) NSString *forkRouteID;
778
779@end
780
781
785@interface TNKDriveNavRoute : NSObject
786
787- (instancetype)init NS_UNAVAILABLE;
788
790- (instancetype)initWithSearchRoute:(TNKDriveRoute *)searchRoute;
791
795@property (nonatomic, readonly) TNKDriveRoute *searchRoute;
796
800@property (nonatomic, readonly) int remainingDistance;
801
805@property (nonatomic, readonly) int remainingTime;
806
810@property (nonatomic, readonly) int remainingTimeInSeconds;
811
815@property (nonatomic, readonly) NSArray<TNKRouteTrafficItem *> *curTrafficItems;
816
820@property (nonatomic, readonly, nullable) TNKLocation *location;
821
825@property (nonatomic, readonly) int distBetweenOrginAndRouteFistPoint;
826
827@end
828
832@interface TNKNavCameraInfo : NSObject
833
837@property (nonatomic, assign) TNKCameraType type;
838
842@property (nonatomic, strong) TNKRoutePoint *routePoint;
843
847@property (nonatomic, assign) int distance;
848
852@property (nonatomic, assign) int limitSpeed;
853
857@property (nonatomic, assign) int speedZoneLimitLength;
858
859@end
860
864@interface TNKRestrictionItem : NSObject
865
869@property (nonatomic, readonly) TNKRoutePoint *routePoint;
870
874@property (nonatomic, readonly) NSString *roadName;
875
876@end
877
881@interface TNKTruckRestrictionItem : TNKRestrictionItem
882
886@property (nonatomic, readonly) TNKTruckRestrictionType type;
887
891@property (nonatomic, readonly) float limitWidth;
892
896@property (nonatomic, readonly) float limitHeight;
897
901@property (nonatomic, readonly) float limitLength;
902
906@property (nonatomic, readonly) float limitWeight;
907
908@end
909
913@interface TNKTurnRestrictionItem : TNKRestrictionItem
914
918@property (nonatomic, readonly) TNKTurnRestrictionType type;
919
923@property (nonatomic, readonly) BOOL always;
924
928@property (nonatomic, readonly) NSString *timeDesc;
929
933@property (nonatomic, readonly) int limitCarType;
934
935@end
936
940@interface TNKNavRestrictionItem : NSObject
941
945@property (nonatomic, strong, readonly) TNKRestrictionItem *restrictionItem;
946
950@property (nonatomic, readonly) int distance;
951
952@end
953
957@interface TNKTruckNavRestrictionItem : TNKNavRestrictionItem
958
962@property (nonatomic, strong, readonly) TNKTruckRestrictionItem *truckRestrictionItem;
963
964@end
965
969@interface TNKTurnNavRestrictionItem : TNKNavRestrictionItem
970
974@property (nonatomic, strong, readonly) TNKTurnRestrictionItem *turnRestrictionItem;
975
976@end
977
981@interface TNKNavRestrictionInfo : NSObject
982
986@property (nonatomic, readonly) NSArray<TNKTruckNavRestrictionItem *> *truckNavRestrictionItems;
987
991@property (nonatomic, readonly) NSArray<TNKTurnNavRestrictionItem *> *turnNavRestrictionItems;
992
993@end
994
995
999@interface TNKRouteFilterLink : NSObject
1000
1002@property (nonatomic, readonly) NSString *linkID;
1003
1005@property (nonatomic, readonly) int filterType;
1006
1008@property (nonatomic, readonly) CLLocationCoordinate2D coord;
1009
1010@end
1011
1012
1013@interface TNKCustomRouteReason : NSObject
1014
1018@property (nonatomic, readonly) NSArray<TNKRouteFilterLink *> *filterLinks;
1019
1023@property (nonatomic, readonly) int customerState;
1024
1025@end
1026
1028@interface TNKTrafficLightCountdownMsg : NSObject
1029
1031@property (nonatomic, readonly) TNKRoutePoint *routePoint;
1033@property (nonatomic, readonly) TNKTrafficLightType trafficLightType;
1035@property (nonatomic, readonly) int endTimestamp;
1037@property (nonatomic, readonly) TNKTrafficLightType nextTrafficLightType;
1039@property (nonatomic, readonly) int nextEndTimestamp;
1040
1041@end
1042
1043
1047@interface TNKNavRoadMatchResult : NSObject
1048
1052@property (nonatomic, readonly) TNKRoadMatchStatus roadMatchStatus;
1053
1057@property (nonatomic, readonly) CLLocation *mactchLocation;
1058
1062@property (nonatomic, readonly) TNKRoadGrade roadGrade;
1063
1067@property (nonatomic, readonly) TNKRoadKind roadKind;
1068
1072@property (nonatomic, readonly) double roadDir;
1073
1074@end
1075
1079@interface TNKPosMatchLocation: NSObject
1080
1084@property (nonatomic, readonly) TencentLBSLocation *origLocation;
1085
1089@property (nonatomic, readonly) TNKNavRoadMatchResult *roadMatchResult;
1090
1091
1092@end
1093
1094
1095NS_ASSUME_NONNULL_END
_TNKSliceType
_TNKSliceType
Definition: TNKDriveCommonObj.h:184
TNKSliceTypeAuto
@ TNKSliceTypeAuto
自动
Definition: TNKDriveCommonObj.h:188
TNKSliceTypeThree
@ TNKSliceTypeThree
三段
Definition: TNKDriveCommonObj.h:187
TNKSliceTypeNone
@ TNKSliceTypeNone
不分片
Definition: TNKDriveCommonObj.h:185
TNKSliceTypeTwo
@ TNKSliceTypeTwo
两段
Definition: TNKDriveCommonObj.h:186
_TNKLocationSourceType
_TNKLocationSourceType
Definition: TNKDriveCommonObj.h:205
lowConf
@ lowConf
Definition: TNKDriveCommonObj.h:206
gpsDerived
@ gpsDerived
网络点
Definition: TNKDriveCommonObj.h:209
network
@ network
GPS.
Definition: TNKDriveCommonObj.h:208
gps
@ gps
不可信点（默认）
Definition: TNKDriveCommonObj.h:207
_TNKTruckType
_TNKTruckType
Definition: TNKDriveCommonObj.h:587
TNKTruckTypeMiniTruck
@ TNKTruckTypeMiniTruck
微型车
Definition: TNKDriveCommonObj.h:588
TNKTruckTypeMediumTruck
@ TNKTruckTypeMediumTruck
中型车
Definition: TNKDriveCommonObj.h:590
TNKTruckTypeHeavyTruck
@ TNKTruckTypeHeavyTruck
重型车
Definition: TNKDriveCommonObj.h:591
TNKTruckTypeLightTruck
@ TNKTruckTypeLightTruck
轻型车 （默认）
Definition: TNKDriveCommonObj.h:589
_TNKTruckPassType
_TNKTruckPassType
Definition: TNKDriveCommonObj.h:634
TNKTruckPassTypeNotHave
@ TNKTruckPassTypeNotHave
无通行证
Definition: TNKDriveCommonObj.h:637
TNKTruckPassTypeApproval
@ TNKTruckPassTypeApproval
预约通行证
Definition: TNKDriveCommonObj.h:638
TNKTruckPassTypeNoNeed
@ TNKTruckPassTypeNoNeed
不需要
Definition: TNKDriveCommonObj.h:635
TNKTruckPassTypeHave
@ TNKTruckPassTypeHave
有通行证
Definition: TNKDriveCommonObj.h:636
TNKDriveRouteSearchErrorCode
enum _TNKDriveRouteSearchErrorCode TNKDriveRouteSearchErrorCode
路线规划的错误码
_TNKTruckFunctionType
_TNKTruckFunctionType
Definition: TNKDriveCommonObj.h:617
TNKTruckFunctionTypeDanger
@ TNKTruckFunctionTypeDanger
危险品
Definition: TNKDriveCommonObj.h:619
TNKTruckFunctionTypeNormal
@ TNKTruckFunctionTypeNormal
常规
Definition: TNKDriveCommonObj.h:618
TNKRoadMatchStatus
enum _TNKRoadMatchStatus TNKRoadMatchStatus
道路吸附结果
_TNKRoadType
_TNKRoadType
Definition: TNKDriveCommonObj.h:96
TNKRoadType_None
@ TNKRoadType_None
无详细类型
Definition: TNKDriveCommonObj.h:97
TNKRoadType_ServingRoad
@ TNKRoadType_ServingRoad
在辅路
Definition: TNKDriveCommonObj.h:101
TNKRoadType_DownstairsMainRoad
@ TNKRoadType_DownstairsMainRoad
在桥下主路
Definition: TNKDriveCommonObj.h:103
TNKRoadType_Elevated
@ TNKRoadType_Elevated
在桥上
Definition: TNKDriveCommonObj.h:98
TNKRoadType_DownstairsServingRoad
@ TNKRoadType_DownstairsServingRoad
在桥下辅路
Definition: TNKDriveCommonObj.h:104
TNKRoadType_MainRoad
@ TNKRoadType_MainRoad
在主路
Definition: TNKDriveCommonObj.h:100
TNKRoadType_DirectionRoad
@ TNKRoadType_DirectionRoad
在对面，初始算路无效
Definition: TNKDriveCommonObj.h:102
TNKRoadType_Downstairs
@ TNKRoadType_Downstairs
在桥下
Definition: TNKDriveCommonObj.h:99
_TNKDriveRouteSearchErrorCode
_TNKDriveRouteSearchErrorCode
Definition: TNKDriveCommonObj.h:79
TNKDriveRouteSearchErrorCode_NoNetwork
@ TNKDriveRouteSearchErrorCode_NoNetwork
手机无网络
Definition: TNKDriveCommonObj.h:81
TNKDriveRouteSearchErrorCode_RequestTimeOut
@ TNKDriveRouteSearchErrorCode_RequestTimeOut
请求超时
Definition: TNKDriveCommonObj.h:82
TNKDriveRouteSearchErrorCode_DataInvalid
@ TNKDriveRouteSearchErrorCode_DataInvalid
返回数据无效
Definition: TNKDriveCommonObj.h:83
TNKDriveRouteSearchErrorCode_CalculateFailed
@ TNKDriveRouteSearchErrorCode_CalculateFailed
算路失败
Definition: TNKDriveCommonObj.h:87
TNKDriveRouteSearchErrorCode_ServerError
@ TNKDriveRouteSearchErrorCode_ServerError
服务器内部错误
Definition: TNKDriveCommonObj.h:92
TNKDriveRouteSearchErrorCode_WayPointError
@ TNKDriveRouteSearchErrorCode_WayPointError
途经点参数错误
Definition: TNKDriveCommonObj.h:85
TNKDriveRouteSearchErrorCode_Privacy_Failed
@ TNKDriveRouteSearchErrorCode_Privacy_Failed
尚未同意隐私协议
Definition: TNKDriveCommonObj.h:91
TNKDriveRouteSearchErrorCode_NavigationParaInvalid
@ TNKDriveRouteSearchErrorCode_NavigationParaInvalid
点串导航时参数不合法
Definition: TNKDriveCommonObj.h:89
TNKDriveRouteSearchErrorCode_NetworkError
@ TNKDriveRouteSearchErrorCode_NetworkError
网络错误
Definition: TNKDriveCommonObj.h:80
TNKDriveRouteSearchErrorCode_AdsorptionFailed
@ TNKDriveRouteSearchErrorCode_AdsorptionFailed
吸附失败
Definition: TNKDriveCommonObj.h:86
TNKDriveRouteSearchErrorCode_StartDestPointError
@ TNKDriveRouteSearchErrorCode_StartDestPointError
起终点参数错误
Definition: TNKDriveCommonObj.h:84
TNKDriveRouteSearchErrorCode_InvalidKeyError
@ TNKDriveRouteSearchErrorCode_InvalidKeyError
鉴权失败
Definition: TNKDriveCommonObj.h:88
TNKDriveRouteSearchErrorCode_ChangeRouteByRouteIDFailed
@ TNKDriveRouteSearchErrorCode_ChangeRouteByRouteIDFailed
乘客选路失败
Definition: TNKDriveCommonObj.h:90
TNKTruckType
enum _TNKTruckType TNKTruckType
货车类型
TNKTruckPassType
enum _TNKTruckPassType TNKTruckPassType
通行证类型
_TNKTrafficLightType
_TNKTrafficLightType
Definition: TNKDriveCommonObj.h:166
TNKTrafficLightTypeNone
@ TNKTrafficLightTypeNone
无效灯态
Definition: TNKDriveCommonObj.h:167
TNKTrafficLightTypeYellow
@ TNKTrafficLightTypeYellow
黄灯
Definition: TNKDriveCommonObj.h:170
TNKTrafficLightTypeGreen
@ TNKTrafficLightTypeGreen
绿灯
Definition: TNKDriveCommonObj.h:169
TNKTrafficLightTypeRed
@ TNKTrafficLightTypeRed
红灯
Definition: TNKDriveCommonObj.h:168
_TNKCameraType
_TNKCameraType
Definition: TNKDriveCommonObj.h:108
TNKCameraTypeForbiddenUTurn
@ TNKCameraTypeForbiddenUTurn
禁止掉头摄像头
Definition: TNKDriveCommonObj.h:145
TNKCameraTypeForbiddenTure
@ TNKCameraTypeForbiddenTure
禁止左右转
Definition: TNKDriveCommonObj.h:126
TNKCameraTypeBusOnlyWay
@ TNKCameraTypeBusOnlyWay
公交
Definition: TNKDriveCommonObj.h:114
TNKCameraTypeIllegalBlow
@ TNKCameraTypeIllegalBlow
违法鸣笛摄像头
Definition: TNKDriveCommonObj.h:124
TNKCameraTypeQujianEnter
@ TNKCameraTypeQujianEnter
区间测速进入点
Definition: TNKDriveCommonObj.h:118
TNKCameraTypeEntrance
@ TNKCameraTypeEntrance
出入口摄像头
Definition: TNKDriveCommonObj.h:144
TNKCameraTypeNotFollowGuideLane
@ TNKCameraTypeNotFollowGuideLane
不按导向车道行驶
Definition: TNKDriveCommonObj.h:147
TNKCameraTypeVehicelTypeSpeed
@ TNKCameraTypeVehicelTypeSpeed
分车种限速
Definition: TNKDriveCommonObj.h:132
TNKCameraTypeCrossing
@ TNKCameraTypeCrossing
违章过路口
Definition: TNKDriveCommonObj.h:134
TNKCameraTypeFixedSpeedTraps
@ TNKCameraTypeFixedSpeedTraps
固定测速点
Definition: TNKDriveCommonObj.h:112
TNKCameraTypeMobileSpeedZone
@ TNKCameraTypeMobileSpeedZone
移动测速区
Definition: TNKDriveCommonObj.h:113
TNKCameraTypeLaLian
@ TNKCameraTypeLaLian
拉链通行道路监控.
Definition: TNKDriveCommonObj.h:121
TNKCameraTypePedestrainFirst
@ TNKCameraTypePedestrainFirst
礼让行人
Definition: TNKDriveCommonObj.h:140
TNKCameraTypeIllegalChangeLane
@ TNKCameraTypeIllegalChangeLane
违法变道
Definition: TNKDriveCommonObj.h:150
TNKCameraTypeLaneSpeed
@ TNKCameraTypeLaneSpeed
分车道限速
Definition: TNKDriveCommonObj.h:131
TNKCameraTypeOneWay
@ TNKCameraTypeOneWay
单行
Definition: TNKDriveCommonObj.h:115
TNKCameraTypeTraffic
@ TNKCameraTypeTraffic
路况监控
Definition: TNKDriveCommonObj.h:143
TNKCameraTypeQujianExit
@ TNKCameraTypeQujianExit
区间测速退出点
Definition: TNKDriveCommonObj.h:119
TNKCameraTypeAnnualInpection
@ TNKCameraTypeAnnualInpection
车辆未按规定年检
Definition: TNKDriveCommonObj.h:141
TNKCameraTypeNoneMotorWay
@ TNKCameraTypeNoneMotorWay
非机动车
Definition: TNKDriveCommonObj.h:117
TNKCameraTypeBusStation
@ TNKCameraTypeBusStation
公交车站摄像头
Definition: TNKDriveCommonObj.h:125
TNKCameraTypeLaneOccupy
@ TNKCameraTypeLaneOccupy
违章占车道
Definition: TNKDriveCommonObj.h:133
TNKCameraTypeKeepSafeDistance
@ TNKCameraTypeKeepSafeDistance
保持安全距离
Definition: TNKDriveCommonObj.h:149
TNKCameraTypeForbiddenLight
@ TNKCameraTypeForbiddenLight
违规用灯
Definition: TNKDriveCommonObj.h:136
TNKCameraTypeEtcToll
@ TNKCameraTypeEtcToll
etc收费电子眼
Definition: TNKDriveCommonObj.h:146
TNKCameraTypeLifeBelt
@ TNKCameraTypeLifeBelt
不系安全带
Definition: TNKDriveCommonObj.h:137
TNKCameraTypeRedLight
@ TNKCameraTypeRedLight
闯红灯照相
Definition: TNKDriveCommonObj.h:110
TNKCameraTypeLowestSpeed
@ TNKCameraTypeLowestSpeed
超低速
Definition: TNKDriveCommonObj.h:129
TNKCameraTypeElectronicMonitoring
@ TNKCameraTypeElectronicMonitoring
电子监控
Definition: TNKDriveCommonObj.h:111
TNKCameraTypeTrafficFlowMonitor
@ TNKCameraTypeTrafficFlowMonitor
流量监控（车流量）
Definition: TNKDriveCommonObj.h:148
TNKCameraTypeGoToBeijing
@ TNKCameraTypeGoToBeijing
外地车进京监控,
Definition: TNKDriveCommonObj.h:123
TNKCameraTypeHOV
@ TNKCameraTypeHOV
多乘员专用道监控.
Definition: TNKDriveCommonObj.h:120
TNKCameraTypeForbiddenParking
@ TNKCameraTypeForbiddenParking
违章停车
Definition: TNKDriveCommonObj.h:128
TNKCameraTypeTailNumber
@ TNKCameraTypeTailNumber
尾号限行，
Definition: TNKDriveCommonObj.h:122
TNKCameraTypeVehicelExhaust
@ TNKCameraTypeVehicelExhaust
车辆尾气超标
Definition: TNKDriveCommonObj.h:142
TNKCameraTypeForbiddenCall
@ TNKCameraTypeForbiddenCall
开车打手机
Definition: TNKDriveCommonObj.h:138
TNKCameraTypeLimitLine
@ TNKCameraTypeLimitLine
环保限行
Definition: TNKDriveCommonObj.h:139
TNKCameraTypeEmergencyWay
@ TNKCameraTypeEmergencyWay
应急
Definition: TNKDriveCommonObj.h:116
TNKCameraTypeForbiddenLine
@ TNKCameraTypeForbiddenLine
违反禁止标线
Definition: TNKDriveCommonObj.h:127
TNKCameraTypeAlterableSpeed
@ TNKCameraTypeAlterableSpeed
可变限速
Definition: TNKDriveCommonObj.h:130
TNKCameraTypeNone
@ TNKCameraTypeNone
无类型
Definition: TNKDriveCommonObj.h:109
TNKCameraTypeForbiddenSign
@ TNKCameraTypeForbiddenSign
违反禁令标志
Definition: TNKDriveCommonObj.h:135
_TNKTurnRestrictionType
_TNKTurnRestrictionType
Definition: TNKDriveCommonObj.h:155
TNKTurnRestrictionTypeRightUTurn
@ TNKTurnRestrictionTypeRightUTurn
禁止右调头
Definition: TNKDriveCommonObj.h:160
TNKTurnRestrictionTypeNone
@ TNKTurnRestrictionTypeNone
无禁止
Definition: TNKDriveCommonObj.h:156
TNKTurnRestrictionTypeStraight
@ TNKTurnRestrictionTypeStraight
禁止直行
Definition: TNKDriveCommonObj.h:161
TNKTurnRestrictionTypeLeft
@ TNKTurnRestrictionTypeLeft
禁止左转
Definition: TNKDriveCommonObj.h:157
TNKTurnRestrictionTypeRight
@ TNKTurnRestrictionTypeRight
禁止右转
Definition: TNKDriveCommonObj.h:158
TNKTurnRestrictionTypeLeftUTurn
@ TNKTurnRestrictionTypeLeftUTurn
禁止左调头
Definition: TNKDriveCommonObj.h:159
TNKLocationSourceType
enum _TNKLocationSourceType TNKLocationSourceType
_TNKEmissionStandard
_TNKEmissionStandard
Definition: TNKDriveCommonObj.h:623
TNKEmissionStandardIII
@ TNKEmissionStandardIII
国三
Definition: TNKDriveCommonObj.h:627
TNKEmissionStandardIV
@ TNKEmissionStandardIV
国四
Definition: TNKDriveCommonObj.h:628
TNKEmissionStandardI
@ TNKEmissionStandardI
国一
Definition: TNKDriveCommonObj.h:625
TNKEmissionStandardII
@ TNKEmissionStandardII
国二
Definition: TNKDriveCommonObj.h:626
TNKEmissionStandardV
@ TNKEmissionStandardV
国五
Definition: TNKDriveCommonObj.h:629
TNKEmissionStandardUnknown
@ TNKEmissionStandardUnknown
未知
Definition: TNKDriveCommonObj.h:624
TNKEmissionStandardVI
@ TNKEmissionStandardVI
国六
Definition: TNKDriveCommonObj.h:630
_TNKTruckRestrictionType
_TNKTruckRestrictionType
Definition: TNKDriveCommonObj.h:643
TNKTruckRestrictionTypeDanger
@ TNKTruckRestrictionTypeDanger
限制危险品
Definition: TNKDriveCommonObj.h:649
TNKTruckRestrictionTypeHeight
@ TNKTruckRestrictionTypeHeight
限高
Definition: TNKDriveCommonObj.h:646
TNKTruckRestrictionTypeWidth
@ TNKTruckRestrictionTypeWidth
限宽
Definition: TNKDriveCommonObj.h:645
TNKTruckRestrictionTypeWeight
@ TNKTruckRestrictionTypeWeight
限重
Definition: TNKDriveCommonObj.h:648
TNKTruckRestrictionTypeLength
@ TNKTruckRestrictionTypeLength
限长
Definition: TNKDriveCommonObj.h:647
TNKTruckRestrictionTypeNone
@ TNKTruckRestrictionTypeNone
无限制
Definition: TNKDriveCommonObj.h:644
NS_OPTIONS
typedef NS_OPTIONS(NSUInteger, TNKDriveLimitStatus)
驾车限行类型
Definition: TNKDriveCommonObj.h:174
_TNKTruckPlateColor
_TNKTruckPlateColor
Definition: TNKDriveCommonObj.h:605
TNKTruckPlateColorYellowGreen
@ TNKTruckPlateColorYellowGreen
黄绿
Definition: TNKDriveCommonObj.h:612
TNKTruckPlateColorYellow
@ TNKTruckPlateColorYellow
黄色
Definition: TNKDriveCommonObj.h:608
TNKTruckPlateColorGreen
@ TNKTruckPlateColorGreen
绿色
Definition: TNKDriveCommonObj.h:611
TNKTruckPlateColorUnknown
@ TNKTruckPlateColorUnknown
未知
Definition: TNKDriveCommonObj.h:606
TNKTruckPlateColorBlack
@ TNKTruckPlateColorBlack
黑色
Definition: TNKDriveCommonObj.h:609
TNKTruckPlateColorBlue
@ TNKTruckPlateColorBlue
蓝色
Definition: TNKDriveCommonObj.h:607
TNKTruckPlateColorWhite
@ TNKTruckPlateColorWhite
白色
Definition: TNKDriveCommonObj.h:610
TNKTurnRestrictionType
enum _TNKTurnRestrictionType TNKTurnRestrictionType
转向禁止类型
TNKEnergyType
enum _TNKEnergyType TNKEnergyType
能源类型
_TNKRoadMatchStatus
_TNKRoadMatchStatus
Definition: TNKDriveCommonObj.h:236
TNKRoadMatchStatusOffRoute
@ TNKRoadMatchStatusOffRoute
车标脱离
Definition: TNKDriveCommonObj.h:238
TNKRoadMatchStatusNull
@ TNKRoadMatchStatusNull
默认值
Definition: TNKDriveCommonObj.h:237
TNKRoadMatchStatusOnRoute
@ TNKRoadMatchStatusOnRoute
车标匹配在路上
Definition: TNKDriveCommonObj.h:239
TNKTruckRestrictionType
enum _TNKTruckRestrictionType TNKTruckRestrictionType
货车限制类型
NS_ENUM
typedef NS_ENUM(NSInteger, TNKWalkSceneType)
步行场景类型
Definition: TNKDriveCommonObj.h:28
TNKRoadType
enum _TNKRoadType TNKRoadType
路段的详细类型
_TNKEnergyType
_TNKEnergyType
Definition: TNKDriveCommonObj.h:193
TNKEnergyTypeElectric
@ TNKEnergyTypeElectric
纯电
Definition: TNKDriveCommonObj.h:197
TNKEnergyTypeUnknown
@ TNKEnergyTypeUnknown
未知
Definition: TNKDriveCommonObj.h:194
TNKEnergyTypeGas
@ TNKEnergyTypeGas
汽油
Definition: TNKDriveCommonObj.h:198
TNKEnergyTypeDiesel
@ TNKEnergyTypeDiesel
柴油
Definition: TNKDriveCommonObj.h:195
TNKEnergyTypeHybird
@ TNKEnergyTypeHybird
油电混动
Definition: TNKDriveCommonObj.h:196
TNKTruckTrailerType
enum _TNKTruckTrailerType TNKTruckTrailerType
拖挂类型
TNKEmissionStandard
enum _TNKEmissionStandard TNKEmissionStandard
排放标准
_TNKTruckTrailerType
_TNKTruckTrailerType
Definition: TNKDriveCommonObj.h:596
TNKTruckTrailerTypeUnknown
@ TNKTruckTrailerTypeUnknown
未知
Definition: TNKDriveCommonObj.h:597
TNKTruckTrailerTypeSemi
@ TNKTruckTrailerTypeSemi
半挂
Definition: TNKDriveCommonObj.h:600
TNKTruckTrailerTypeFlatbed
@ TNKTruckTrailerTypeFlatbed
平板
Definition: TNKDriveCommonObj.h:598
TNKTruckTrailerTypeFull
@ TNKTruckTrailerTypeFull
全挂
Definition: TNKDriveCommonObj.h:601
TNKTruckTrailerTypeContainer
@ TNKTruckTrailerTypeContainer
箱货
Definition: TNKDriveCommonObj.h:599
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:1014
TNKDestinationWalkSceneTips
目的地步行场景提示信息
Definition: TNKDriveCommonObj.h:39
TNKDestinationWalkSceneTips::sceneType
TNKWalkSceneType sceneType
步行场景类型 0（无步行），1（室内步行），2（室外步行）
Definition: TNKDriveCommonObj.h:43
TNKDestinationWalkSceneTips::bubbleTitle
NSString * bubbleTitle
气泡标题
Definition: TNKDriveCommonObj.h:63
TNKDestinationWalkSceneTips::bubbleContent
NSString * bubbleContent
气泡内容
Definition: TNKDriveCommonObj.h:68
TNKDestinationWalkSceneTips::distance
int distance
距离，单位：米，仅当sceneType不为0时有意义
Definition: TNKDriveCommonObj.h:48
TNKDestinationWalkSceneTips::popupTitle
NSString * popupTitle
弹窗标题
Definition: TNKDriveCommonObj.h:53
TNKDestinationWalkSceneTips::popupContent
NSString * popupContent
弹窗内容
Definition: TNKDriveCommonObj.h:58
TNKDriveRoute
算路的路线数据类
Definition: TNKDriveCommonObj.h:426
TNKDriveRouteRequest
驾车算路请求类
Definition: TNKDriveCommonObj.h:400
TNKDriveRouteSearchOption
驾车路径规划算路策略
Definition: TNKDriveCommonObj.h:247
TNKDriveRouteSearchResult
驾车算路返回数据类
Definition: TNKDriveCommonObj.h:557
TNKForkPoint
多路线分歧点信息.
Definition: TNKDriveCommonObj.h:765
TNKLocation
导航的定位信息.
Definition: TNKLocation.h:19
TNKMotoSearchOption
摩托车导航算路参数.
Definition: TNKDriveCommonObj.h:746
TNKPosMatchLocation
巡航定位信息
Definition: TNKDriveCommonObj.h:1080
TNKRestrictionItem
交规信息基础类
Definition: TNKDriveCommonObj.h:865
TNKRouteFilterLink
被过滤的Link
Definition: TNKDriveCommonObj.h:1000
TNKRoutePoint
路线上的坐标类
Definition: TNKCommonObj.h:50
TNKRouteRequest
算路请求类
Definition: TNKCommonObj.h:83
TNKTrafficLightCountdownMsg
红绿灯倒计时信息
Definition: TNKDriveCommonObj.h:1029
TNKTruckRestrictionItem
违反货车规格限制信息
Definition: TNKDriveCommonObj.h:882
TNKTruckSearchOption
货车导航算路参数.
Definition: TNKDriveCommonObj.h:656
TNKTurnRestrictionItem
违反交规信息
Definition: TNKDriveCommonObj.h:914