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 TNKRideNavigationBriefInfoData,
21 TNKSnapShotConfig,
22 TNKSnapShotResult;
23
24
26@protocol TNKRideNavDelegate <NSObject>
27
28@optional
33- (void)rideNavManagerDidStart:(TNKRideNavManager *)manager;
34
39- (void)rideNavManagerDidStop:(TNKRideNavManager *)manager;
40
45- (void)rideNavManagerWillArriveDestination:(TNKRideNavManager *)manager;
46
52- (void)rideNavManager:(TNKRideNavManager *)manager updateNavigationData:(TNKRideNavigationData *)navigationData;
53
59- (void)rideNavManager:(TNKRideNavManager *)manager updateBriefInfoData:(TNKRideNavigationBriefInfoData *)briefInfoData;
60
66- (void)rideNavManager:(TNKRideNavManager *)manager
67 didUpdateLocation:(TNKLocation *)location;
68
74- (void)rideNavManager:(TNKRideNavManager *)manager updateLocationFailedWithError:(NSError *)error;
75
81- (void)rideNavManager:(TNKRideNavManager *)manager gpsStatusDidChange:(TNKGpsStatus *)gpsStatus;
82
83
89- (void)rideNavManager:(TNKRideNavManager *)manager didStartRerouting:(TNKRerouteReason)rerouteReason;
90
96- (void)rideNavManager:(TNKRideNavManager *)manager
97 rerouteDidSuccess:(TNKRideRerouteResult *)rerouteresult;
98
104- (void)rideNavManager:(TNKRideNavManager *)manager
105 rerouteDidFail:(TNKRideRerouteResult *)rerouteresult;
106
107@end
108
109NS_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
TNKSnapShotConfig
截图配置类
Definition: TNKSnapShot.h:44
TNKSnapShotResult
截图结果类
Definition: TNKSnapShot.h:92