TencentNavKit

TNKHighwayFacilityInfo.h
Go to the documentation of this file.
1//
2// TNKHighwayFacilityInfo.h
3// TencentNavKit
4//
5// Created by mol on 2020/3/31.
6// Copyright © 2020 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
13 typedef enum _TNKHighwayFacilityType
14{
15 TNKHighwayFacilityTypeSeatingArea = 1,
16 TNKHighwayFacilityTypeTollStation = 2,
17} TNKHighwayFacilityType;
18
20@interface TNKHighwayFacilityItem : NSObject
21// 类型
22@property (nonatomic, readonly) TNKHighwayFacilityType type;
23// 名字
24@property (nonatomic, readonly) NSString *name;
25// 距离
26@property (nonatomic, readonly) int remainingDistance;
27
28@end
29
31@interface TNKHighwayFacilityInfo : NSObject
32
33@property (nonatomic, readonly) NSArray<TNKHighwayFacilityItem *> *facilityItems;
34
35@end
36
37NS_ASSUME_NONNULL_END
_TNKHighwayFacilityType
_TNKHighwayFacilityType
Definition: TNKHighwayFacilityInfo.h:14
TNKHighwayFacilityTypeTollStation
@ TNKHighwayFacilityTypeTollStation
Definition: TNKHighwayFacilityInfo.h:16
TNKHighwayFacilityTypeSeatingArea
@ TNKHighwayFacilityTypeSeatingArea
Definition: TNKHighwayFacilityInfo.h:15
TNKHighwayFacilityType
NS_ASSUME_NONNULL_BEGIN enum _TNKHighwayFacilityType TNKHighwayFacilityType
TNKHighwayFacilityInfo
高速休息区、收费站信息
Definition: TNKHighwayFacilityInfo.h:32
TNKHighwayFacilityItem
高速休息区、收费站信息单条信息
Definition: TNKHighwayFacilityInfo.h:21
TNKHighwayFacilityItem::type
TNKHighwayFacilityType type
Definition: TNKHighwayFacilityInfo.h:22
TNKHighwayFacilityItem::name
NSString * name
Definition: TNKHighwayFacilityInfo.h:24
TNKHighwayFacilityItem::remainingDistance
int remainingDistance
Definition: TNKHighwayFacilityInfo.h:26