TencentNavKit

TNKRideNavDelegate.h
Go to the documentation of this file.
1//
2// TNKRideNavDelegate.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 TNKRideNavManager,
15 TNKLocation,
16 TNKGpsStatus,
17 TNKRideNavRoute,
18 TNKRideRoute,
19 TNKRideNavigationData;
20
21
23@protocol TNKRideNavDelegate <NSObject>
24
25@optional
30- (void)rideNavManagerDidStart:(TNKRideNavManager *)manager;
31
36- (void)rideNavManagerDidStop:(TNKRideNavManager *)manager;
37
42- (void)rideNavManagerWillArriveDestination:(TNKRideNavManager *)manager;
43
49- (void)rideNavManager:(TNKRideNavManager *)manager updateNavigationData:(TNKRideNavigationData *)navigationData;
50
56- (void)rideNavManager:(TNKRideNavManager *)manager
57 didUpdateLocation:(TNKLocation *)location;
58
64- (void)rideNavManager:(TNKRideNavManager *)manager updateLocationFailedWithError:(NSError *)error;
65
71- (void)rideNavManager:(TNKRideNavManager *)manager gpsStatusDidChange:(TNKGpsStatus *)gpsStatus;
72
73
79- (void)rideNavManager:(TNKRideNavManager *)manager didStartRerouting:(TNKRerouteReason)rerouteReason;
80
86- (void)rideNavManager:(TNKRideNavManager *)manager
87 rerouteDidSuccess:(TNKRideRerouteResult *)rerouteresult;
88
94- (void)rideNavManager:(TNKRideNavManager *)manager
95 rerouteDidFail:(TNKRideRerouteResult *)rerouteresult;
96@end
97
98NS_ASSUME_NONNULL_END
TNKRerouteReason
enum _TNKRerouteReason TNKRerouteReason
重新算路类型.
TNKGpsStatus
gps状态信息
Definition: TNKGpsStatus.h:21
TNKLocation
导航的定位信息.
Definition: TNKLocation.h:19
TNKRideRerouteResult
骑行重新算路结果
Definition: TNKRerouteCommon.h:52
TNKRideRoute
算路的路线数据类
Definition: TNKRideCommonObj.h:18