TencentNavKit

TNKIdleSectionInfo.h
Go to the documentation of this file.
1//
2// TNKIdleSectionInfo.h
3// TencentNavKit
4//
5// Created by mol on 2022/7/18.
6// Copyright © 2022 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
13 typedef enum _TNKIdleSectionType
14{
15 TNKIdleSectionTypeHigh = 0,
16 TNKIdleSectionTypeLow = 1,
17} TNKIdleSectionType;
18
20@interface TNKIdleSectionInfo : NSObject
21
23@property (nonatomic, assign) int distance;
24
26@property (nonatomic, assign) TNKIdleSectionType idleSectionType;
27
28@end
29
30NS_ASSUME_NONNULL_END
_TNKIdleSectionType
_TNKIdleSectionType
Definition: TNKIdleSectionInfo.h:14
TNKIdleSectionTypeLow
@ TNKIdleSectionTypeLow
优先级低。可插入低优和高优的业务播报
Definition: TNKIdleSectionInfo.h:16
TNKIdleSectionTypeHigh
@ TNKIdleSectionTypeHigh
优先级高。可用于插入高优的业务播报
Definition: TNKIdleSectionInfo.h:15
TNKIdleSectionType
NS_ASSUME_NONNULL_BEGIN enum _TNKIdleSectionType TNKIdleSectionType
TNKIdleSectionInfo
进入空闲区间的信息
Definition: TNKIdleSectionInfo.h:21
TNKIdleSectionInfo::idleSectionType
TNKIdleSectionType idleSectionType
空闲区间的优先级
Definition: TNKIdleSectionInfo.h:26
TNKIdleSectionInfo::distance
int distance
空闲区间的长度，单位：米
Definition: TNKIdleSectionInfo.h:23