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 TNKDestinationRerouteParam : TNKRerouteParam
25
27@property (nonatomic, strong) TNKSearchNavPoint *destination;
28
29@end
30
31
33@interface TNKParallelRoadRerouteParam : TNKRerouteParam
34
36@property (nonatomic, assign) TNKRoadType roadType;
37
38@end
39
41@interface TNKWaypointRerouteParam : TNKRerouteParam
42
44@property (nonatomic ,copy) NSArray<TNKSearchNavPoint *> *waypoints;
45
46@end
47
49@interface TNKDestAndWaypointRerouteParam : TNKRerouteParam
50
52@property (nonatomic, strong) TNKSearchNavPoint *destination;
53
55@property (nonatomic ,copy) NSArray<TNKSearchNavPoint *> *waypoints;
56
57@end
58
60@interface TNKSearchPreferenceRerouteParam : TNKRerouteParam
61
65@property (nonatomic, assign) BOOL avoidToll;
66
70@property (nonatomic, assign) BOOL avoidHighway;
71
75@property (nonatomic, assign) BOOL avoidTrafficJam;
76
80@property (nonatomic, assign) BOOL highway;
81
85@property (nonatomic, assign) BOOL shortTime;
86
90@property (nonatomic, assign) BOOL isShortDistance;
91
95@property (nonatomic, assign) BOOL bigRoad;
96
97@end
98
100@interface TNKRestoreRouteRerouteParam : TNKRerouteParam
101
103@property (nonatomic ,copy) NSString *routeID;
104
106@property (nonatomic, copy) NSString *requestID;
107
109@property (nonatomic, strong, nullable) TNKSearchNavPoint *destination;
110
111@end
112
113NS_ASSUME_NONNULL_END
TNKRoadType
enum _TNKRoadType TNKRoadType
路段的详细类型
TNKDestAndWaypointRerouteParam
修改途经点与目的地参数。只在驾车导航下生效
Definition: TNKRerouteParam.h:50
TNKDestinationRerouteParam
修改目的地
Definition: TNKRerouteParam.h:25
TNKParallelRoadRerouteParam
平行路切换参数。只在驾车导航下生效
Definition: TNKRerouteParam.h:34
TNKRefreshRerouteParam
刷新路线参数
Definition: TNKRerouteParam.h:21
TNKRerouteParam
重新算路参数基类
Definition: TNKRerouteParam.h:16
TNKRestoreRouteRerouteParam
路线还原必要参数。只在驾车导航下生效
Definition: TNKRerouteParam.h:101
TNKSearchPreferenceRerouteParam
修改选路策略必要参数。只在驾车导航下生效
Definition: TNKRerouteParam.h:61
TNKWaypointRerouteParam
修改途经点参数。只在驾车导航下生效
Definition: TNKRerouteParam.h:42