TencentNavKit

TNKRerouteParam.h
Go to the documentation of this file.
1//
2// TNKRerouteParam.h
3// TencentNavKit
4//
5// Created by mol on 2022/11/17.
6// Copyright © 2022 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <TencentNavKit/TNKDriveCommonObj.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
15@interface TNKRerouteParam : NSObject
16
17@end
18
20@interface TNKRefreshRerouteParam: TNKRerouteParam
21@end
22
24@interface TNKOffCourseRerouteParam: TNKRerouteParam
25@end
26
28@interface TNKDestinationRerouteParam : TNKRerouteParam
29
31@property (nonatomic, strong) TNKSearchNavPoint *destination;
32
33@end
34
35
37@interface TNKParallelRoadRerouteParam : TNKRerouteParam
38
40@property (nonatomic, assign) TNKRoadType roadType;
41
42@end
43
45@interface TNKWaypointRerouteParam : TNKRerouteParam
46
48@property (nonatomic ,copy) NSArray<TNKSearchNavPoint *> *waypoints;
49
50@end
51
53@interface TNKDestAndWaypointRerouteParam : TNKRerouteParam
54
56@property (nonatomic, strong) TNKSearchNavPoint *destination;
57
59@property (nonatomic ,copy) NSArray<TNKSearchNavPoint *> *waypoints;
60
61@end
62
64@interface TNKSearchPreferenceRerouteParam : TNKRerouteParam
65
69@property (nonatomic, assign) BOOL avoidToll;
70
74@property (nonatomic, assign) BOOL avoidHighway;
75
79@property (nonatomic, assign) BOOL avoidTrafficJam;
80
84@property (nonatomic, assign) BOOL highway;
85
89@property (nonatomic, assign) BOOL shortTime;
90
94@property (nonatomic, assign) BOOL isShortDistance;
95
99@property (nonatomic, assign) BOOL bigRoad;
100
101@end
102
104@interface TNKRestoreRouteRerouteParam : TNKRerouteParam
105
107@property (nonatomic ,copy) NSString *routeID;
108
110@property (nonatomic, copy) NSString *requestID;
111
113@property (nonatomic, strong, nullable) TNKSearchNavPoint *destination;
114
115@end
116
117NS_ASSUME_NONNULL_END
TNKRoadType
enum _TNKRoadType TNKRoadType
路段的详细类型
TNKDestAndWaypointRerouteParam
修改途经点与目的地参数。只在驾车导航下生效
Definition: TNKRerouteParam.h:54
TNKDestinationRerouteParam
修改目的地
Definition: TNKRerouteParam.h:29
TNKOffCourseRerouteParam
主动偏航参数
Definition: TNKRerouteParam.h:25
TNKParallelRoadRerouteParam
平行路切换参数。只在驾车导航下生效
Definition: TNKRerouteParam.h:38
TNKRefreshRerouteParam
刷新路线参数
Definition: TNKRerouteParam.h:21
TNKRerouteParam
重新算路参数基类
Definition: TNKRerouteParam.h:16
TNKRestoreRouteRerouteParam
路线还原必要参数。只在驾车导航下生效
Definition: TNKRerouteParam.h:105
TNKSearchPreferenceRerouteParam
修改选路策略必要参数。只在驾车导航下生效
Definition: TNKRerouteParam.h:65
TNKWaypointRerouteParam
修改途经点参数。只在驾车导航下生效
Definition: TNKRerouteParam.h:46