TencentNavKit

TNKChangeRouteMsg.h
Go to the documentation of this file.
1//
2// TNKChangeRouteMsg.h
3// TencentNavKit
4//
5// Created by mol on 2022/5/19.
6// Copyright © 2022 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
14 typedef enum _TNKChangeRouteMsgReason
15{
16 TNKChangeRouteMsgReasonUnkown = 0,
17 TNKChangeRouteMsgReasonClicking = 1,
18 TNKChangeRouteMsgReasonDrivingIn = 2,
19 TNKChangeRouteMsgReasonByAPI = 3,
20 TNKChangeRouteMsgReasonRoadClosed = 4,
21 TNKChangeRouteMsgReasonLimitChanged = 5,
22 TNKChangeRouteMsgReasonReroute = 6,
23} TNKChangeRouteMsgReason;
24
26@interface TNKChangeRouteMsg : NSObject
27
29@property (nonatomic, assign) TNKChangeRouteMsgReason reason;
30
31@end
32
33NS_ASSUME_NONNULL_END
_TNKChangeRouteMsgReason
_TNKChangeRouteMsgReason
主路线变化的原因
Definition: TNKChangeRouteMsg.h:15
TNKChangeRouteMsgReasonUnkown
@ TNKChangeRouteMsgReasonUnkown
未知
Definition: TNKChangeRouteMsg.h:16
TNKChangeRouteMsgReasonReroute
@ TNKChangeRouteMsgReasonReroute
重新算路导致的路线变化
Definition: TNKChangeRouteMsg.h:22
TNKChangeRouteMsgReasonByAPI
@ TNKChangeRouteMsgReasonByAPI
开发者调用API切换路线
Definition: TNKChangeRouteMsg.h:19
TNKChangeRouteMsgReasonClicking
@ TNKChangeRouteMsgReasonClicking
司机点击备选路线
Definition: TNKChangeRouteMsg.h:17
TNKChangeRouteMsgReasonLimitChanged
@ TNKChangeRouteMsgReasonLimitChanged
交限变化导致切换路线
Definition: TNKChangeRouteMsg.h:21
TNKChangeRouteMsgReasonDrivingIn
@ TNKChangeRouteMsgReasonDrivingIn
司机驶入备选路线
Definition: TNKChangeRouteMsg.h:18
TNKChangeRouteMsgReasonRoadClosed
@ TNKChangeRouteMsgReasonRoadClosed
封路导致切换路线
Definition: TNKChangeRouteMsg.h:20
TNKChangeRouteMsgReason
NS_ASSUME_NONNULL_BEGIN enum _TNKChangeRouteMsgReason TNKChangeRouteMsgReason
主路线变化的原因
TNKChangeRouteMsg
主路变化信息
Definition: TNKChangeRouteMsg.h:27
TNKChangeRouteMsg::reason
TNKChangeRouteMsgReason reason
主路线变化的原因
Definition: TNKChangeRouteMsg.h:29