TencentNavKit

TNKBaseNavManager.h
Go to the documentation of this file.
1//
2// TNKBaseNavManager.h
3// TencentNavKit
4//
5// Created by mol on 2022/7/26.
6// Copyright © 2022 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <TencentNavKit/TNKRerouteParam.h>
11#import <TencentNavKit/TNKAudioPlayerProtocol.h>
12#import <TencentNavKit/TNKLocationSimulator.h>
13
14NS_ASSUME_NONNULL_BEGIN
15
17@interface TNKBaseNavManager : NSObject
18
19//- (instancetype)init __attribute__((unavailable("请使用各子类的sharedInstance方法， 导航管理类不再支持多实例")));;
20
24@property (nonatomic, readonly, getter=isRunning) BOOL running;
25
29@property (nonatomic, strong, nullable) id<TNKAudioPlayerProtocol> audioPlayer;
30
34@property (nonatomic, readonly) id<TNKLocationSimulator> locationSimulator;
35
41- (BOOL)startNavWithIndex:(NSUInteger)index;
42
48- (BOOL)startNavWithRouteID:(NSString *)routeID;
49
56- (BOOL)setNaveRoutePlanCacheSize:(int) routePlanCacheSize;
57
61- (void)stopNav;
62
67- (void)rerouteWithParam:(TNKRerouteParam *)rerouteParam;
68
69@end
70
71NS_ASSUME_NONNULL_END
TNKRerouteParam
重新算路参数基类
Definition: TNKRerouteParam.h:16