TencentNavKit

TNKRideNavView.h
Go to the documentation of this file.
1//
2// TNKRideNavView.h
3// TencentNavKit
4//
5// Created by mol on 2022/10/27.
6// Copyright © 2022 Tencent. All rights reserved.
7//
8
9#import <TencentNavKit/TNKBaseNavView.h>
10#import <TencentNavKit/TNKRideNavDelegate.h>
11#import <TencentNavKit/TNKRideNavViewDelegate.h>
12#import "TNKNavTTS.h"
13#import "TNKUIComponentConfig.h"
14
15NS_ASSUME_NONNULL_BEGIN
16
17
18 typedef enum _TNKRideTTSMode
19{
20 TNKRideTTSModeSilent = TNKNavTTSModeSilent,
21 TNKRideTTSModeSpeak = TNKNavTTSModeDefault,
22} TNKRideTTSMode;
23
25@interface TNKRideNavView : TNKBaseNavView <TNKRideNavDelegate>
26
30@property (nonatomic, weak, nullable) id<TNKRideNavViewDelegate> delegate;
31
35@property (nonatomic, assign) BOOL showUIElements;
36
40@property (nonatomic, assign) BOOL showOverviewButton;
41
45@property (nonatomic, assign) BOOL showBottomToolbar;
46
50@property (nonatomic, assign) BOOL showToast;
51
55@property (nonatomic, assign) BOOL showRouteRefreshButton;
56
60@property (nonatomic, assign) BOOL showCurrentSpeedView;
61
65@property (nonatomic, strong, nullable) UIView* navInfoBriefView;
66
70@property (nonatomic, assign) BOOL showSettingButton;
71
75@property (nonatomic, assign) BOOL showExitButton;
76
80- (void)setUIComponentConfig:(TNKUIComponentConfig *)uiComponentConfig;
81
82
88- (void)snapShotWithConfig:(TNKSnapShotConfig *)config completion:(void (^)(TNKSnapShotResult * _Nullable result, NSError * _Nullable error))completion;
89
93- (void)stopSnapShot;
94
95@end
96
97NS_ASSUME_NONNULL_END
TNKUIComponentConfig.h
TNKSnapShotConfig
截图配置类
Definition: TNKSnapShotConfig.h:18
TNKSnapShotResult
截图结果类
Definition: TNKSnapShotResult.h:18
TNKUIComponentConfig
Definition: TNKUIComponentConfig.h:7