TencentNavKit

TNKWalkNavDelegate.h
Go to the documentation of this file.
1//
2// TNKWalkNavDelegate.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 <TencentNavKit/TNKRerouteCommon.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
14@class TNKWalkNavManager,
15 TNKWalkNavigationData,
16 TNKLocation,
17 TNKGpsStatus,
18 TNKWalkRerouteResult;
19
21@protocol TNKWalkNavDelegate <NSObject>
22
23@optional
28- (void)walkNavManagerDidStart:(TNKWalkNavManager *)manager;
29
34- (void)walkNavManagerDidStop:(TNKWalkNavManager *)manager;
35
40- (void)walkNavManagerWillArriveDestination:(TNKWalkNavManager *)manager;
41
47- (void)walkNavManager:(TNKWalkNavManager *)manager updateNavigationData:(TNKWalkNavigationData *)navigationData;
48
54- (void)walkNavManager:(TNKWalkNavManager *)manager
55 didUpdateLocation:(TNKLocation *)location;
56
62- (void)walkNavManager:(TNKWalkNavManager *)manager updateLocationFailedWithError:(NSError *)error;
63
69- (void)walkNavManager:(TNKWalkNavManager *)manager gpsStatusDidChange:(TNKGpsStatus *)gpsStatus;
70
71
77- (void)walkNavManager:(TNKWalkNavManager *)manager didStartRerouting:(TNKRerouteReason)rerouteReason;
78
84- (void)walkNavManager:(TNKWalkNavManager *)manager
85 rerouteDidSuccess:(TNKWalkRerouteResult *)rerouteresult;
86
92- (void)walkNavManager:(TNKWalkNavManager *)manager
93 rerouteDidFail:(TNKWalkRerouteResult *)rerouteresult;
94
95@end
96
97NS_ASSUME_NONNULL_END
TNKRerouteReason
enum _TNKRerouteReason TNKRerouteReason
重新算路类型.
TNKGpsStatus
gps状态信息
Definition: TNKGpsStatus.h:21
TNKLocation
导航的定位信息.
Definition: TNKLocation.h:19
TNKWalkRerouteResult
步行重新算路结果
Definition: TNKRerouteCommon.h:68