TencentNavKit

TNKWalkNavManager.h
Go to the documentation of this file.
1//
2// TNKWalkNavManager.h
3// TencentNavKit
4//
5// Created by mol on 2022/10/26.
6// Copyright © 2022 Tencent. All rights reserved.
7//
8
9#import <TencentNavKit/TNKBaseNavManager.h>
10#import <TencentNavKit/TNKWalkCommonObj.h>
11#import <TencentNavKit/TNKWalkNavDelegate.h>
12#import <TencentNavKit/TNKSearchTask.h>
13#import <TencentNavKit/TNKWalkNavDataSource.h>
14NS_ASSUME_NONNULL_BEGIN
15
16
18@interface TNKWalkNavManager : TNKBaseNavManager
19
21+ (instancetype)sharedInstance;
22
26@property (nonatomic, readonly, nullable) TNKWalkNavRoute *curNavRoute;
27
31@property (nonatomic, weak, nullable) id<TNKWalkNavDataSource> navDataSource;
32
37@property (nonatomic, assign) TNKNavTTSMode ttsMode;
38
46- (void)registerNavDelegate:(id<TNKWalkNavDelegate>)navDelegate;
47
52- (void)unregisterNavDelegate:(id<TNKWalkNavDelegate>)navDelegate;
53
57- (void)unregisterAllNavDelegates;
58
59
60- (TNKSearchTask * _Nullable)searchRoutesWithRequest:(TNKRouteRequest *)request
61 completion:(void (^)(TNKWalkRouteSearchResult * _Nullable searchResult,
62 NSError * _Nullable error))completion;
63
64@end
65
66NS_ASSUME_NONNULL_END
TNKRouteRequest
算路请求类
Definition: TNKCommonObj.h:83
TNKSearchTask
路线规划任务类
Definition: TNKSearchTask.h:17
TNKWalkRouteSearchResult
步行算路返回数据类
Definition: TNKWalkCommonObj.h:76