TencentNavKit

TNKRideNavigationData.h
Go to the documentation of this file.
1//
2// TNKRideNavigationData.h
3// TencentNavKit
4//
5// Created by mol on 2022/12/27.
6// Copyright © 2022 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <CoreLocation/CLLocation.h>
11#import <UIKit/UIKit.h>
12
13NS_ASSUME_NONNULL_BEGIN
14
18@interface TNKRideNavigationData : NSObject
19
23@property (nonatomic, readonly) NSString *nextRoadName;
24
28@property (nonatomic, readonly) NSString *currentRoadName;
29
33@property (nonatomic, readonly) int nextDistanceLeft;
34
38@property (nonatomic, readonly) int totalDistanceLeft;
39
43@property (nonatomic, readonly) int totalTimeLeft;
44
48@property (nonatomic, readonly) int currentSpeed;
49
53@property (nonatomic, readonly) UIImage *intersectionImage;
54
58@property (nonatomic, readonly) int intersectionType;
59
60@end
61
62/*------------------------------------两轮车投屏场景------------------------------------*/
63
64@interface TNKRideNavigationBriefInfo : NSObject
65
69@property (nonatomic, copy) NSString *nextTurn;
70
74@property (nonatomic, copy) NSString *roadName;
75
79@property (nonatomic, assign) int distanceToTurn;
80
84@property (nonatomic, assign) int totalDistance;
85
89@property (nonatomic, assign) int estimatedTime;
90@end
91
95@interface TNKRideNavigationBriefInfoData : NSObject
96
100@property (nonatomic, assign) CLLocationCoordinate2D location;
101
105@property (nonatomic, strong) TNKRideNavigationBriefInfo *navigation;
106
110@property (nonatomic, copy) NSString *voiceText;
111
115@property (nonatomic, assign) int version;
116
120@property (nonatomic, copy) NSString *errorMessage;
121
122@end
123
124NS_ASSUME_NONNULL_END