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
40- (void)registerNavDelegate:(id<TNKWalkNavDelegate>)navDelegate;
41
46- (void)unregisterNavDelegate:(id<TNKWalkNavDelegate>)navDelegate;
47
51- (void)unregisterAllNavDelegates;
52
53
54- (TNKSearchTask * _Nullable)searchRoutesWithRequest:(TNKRouteRequest *)request
55 completion:(void (^)(TNKWalkRouteSearchResult * _Nullable searchResult,
56 NSError * _Nullable error))completion;
57
58@end
59
60NS_ASSUME_NONNULL_END
TNKRouteRequest
算路请求类
Definition: TNKCommonObj.h:83
TNKSearchTask
路线规划任务类
Definition: TNKSearchTask.h:17
TNKWalkRouteSearchResult
步行算路返回数据类
Definition: TNKWalkCommonObj.h:76