BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

BMKWalkCycleNavigationDelegates.h
浏览该文件的文档.
1 //
2 // BMKWalkCycleNavigationDelegates.h
3 // WalkNaviComponent
4 //
5 // Created by Xin,Qi on 28/03/2018.
6 // Copyright © 2018 Baidu. All rights reserved.
7 //
8
9 #ifndef BMKWalkCycleNavigationDelegates_h
10 #define BMKWalkCycleNavigationDelegates_h
11 #import <CoreLocation/CoreLocation.h>
12 #import <Foundation/Foundation.h>
13 #import <UIKit/UIKit.h>
14 #import "BMKWalkCycleDefine.h"
15 #import "BMKAuthorizeServiceModel.h"
16 #import <BaiduMapAPI_Base/BMKTypes.h>
17 #import "BMKWalkCycleNavigationData.h"
18 #import "BMKWalkCycleSampleGuideInfo.h"
19 #import "BMKWalkCycleTrafficLightData.h"
20
21 NS_ASSUME_NONNULL_BEGIN
22 #pragma mark - 步骑行导航（多）路线规划代理类
23
26 @protocol BMKWalkCycleRoutePlanDelegate <NSObject>
27
28 @optional
32 - (void)onRoutePlanStart:(BMKWalkCycleNavigationType)naviType;
33
39 - (void)onRoutePlanResult:(BMKWalkCycleRoutePlanErrorCode)errorCode naviType:(BMKWalkCycleNavigationType)naviType;
40
41 @end
42
43 #pragma mark - 步行导航引擎算路代理
44
45 @protocol BMKWalkNaviCalcRouteDelegate <NSObject>
46
47 @optional
48
51 - (void)onNaviCalcRouteResult:(BMKWalkCycleRoutePlanErrorCode)errorCode;
52
53
57 - (void)onNaviCalcRouteResult:(BMKWalkCycleRoutePlanErrorCode)errorCode naviType:(BMKWalkCycleNavigationType)naviType;
58
59 @end
60
61 #pragma mark - 步行导航管理代理类
62
63 @protocol BMKWalkCycleManagerDelegate <NSObject>
64
65 @optional
69 - (void)exitWalkCycleNaviView:(BMKNaviExitType)exitType naviType:(BMKWalkCycleNavigationType)naviType;
70
74 - (void)onNaviInBrowserStatusByGesture;
75
78 - (void)onNaviMapRotateModeChanged:(BMKNaviMapRotateMode)naviMapRotateMode;
79
82 - (void)onNaviMapOverlookingModeChanged:(BMKNaviMapOverlookingMode)naviMapOverlookingMode;
83
86 - (void)onNaviMapViewAllStatusChanged:(BOOL)naviMapViewAllStatus;
87 @end
88
89 #pragma mark - 步行导航诱导信息代理类
90
93 @protocol BMKWalkCycleRouteGuidanceDelegate <NSObject>
94
95 @optional
97 - (void)onSampleGuideInfoUpdate:(BMKWalkCycleSampleGuideInfo *_Nullable)sampleGuideInfo naviType:(BMKWalkCycleNavigationType)naviType;
103 - (void)onRouteGuideIconUpdate:(UIImage *_Nullable)icon naviType:(BMKWalkCycleNavigationType)naviType;
104
111 - (void)onRouteGuideIconNameUpdate:(NSString *_Nullable)iconName naviType:(BMKWalkCycleNavigationType)naviType;
112
118 - (void)onRouteGuideKind:(BMKWalkCycleGuideKind)guideKind naviType:(BMKWalkCycleNavigationType)naviType;
119
126 - (void)onRoadGuideTextUpdateFirst:(NSString *_Nullable)firstSequence second:(NSString *_Nullable)secondSequence naviType:(BMKWalkCycleNavigationType)naviType;
127
133 - (void)onRemainTimeUpdate:(NSString *_Nullable)remainTime naviType:(BMKWalkCycleNavigationType)naviType;
134
140 - (void)onRemainDistanceUpdate:(NSString *_Nullable)remainDistance naviType:(BMKWalkCycleNavigationType)naviType;
141
147 - (void)onRemaintrafficLightCountUpdate:(int)trafficLightCount naviType:(BMKWalkCycleNavigationType)naviType;
148
155 - (void)onGpsStatusChange:(NSString *_Nullable)gspInfo guideIcon:(UIImage *_Nullable)guideIcon naviType:(BMKWalkCycleNavigationType)naviType;
156
163 - (void)onGpsPositionUpdate:(BMKWalkCycleNavigationData *_Nullable)naviData naviType:(BMKWalkCycleNavigationType)naviType;
164
172 - (void)onGpsStatusChange:(NSString *_Nullable)gspInfo guideIconName:(NSString *_Nullable)guideIconName naviType:(BMKWalkCycleNavigationType)naviType;
173
179 - (void)onGpsStatusChange:(int)status;
180
187 - (void)onRouteFarAway:(NSString *_Nullable)rarAwayInfo guideIcon:(UIImage *_Nullable)guideIcon naviType:(BMKWalkCycleNavigationType)naviType;
188
196 - (void)onRouteFarAway:(NSString *_Nullable)rarAwayInfo guideIconName:(NSString *_Nullable)guideIconName naviType:(BMKWalkCycleNavigationType)naviType;
197
204 - (void)onRoutePlanYawing:(NSString *_Nullable)yawingInfo guideIcon:(UIImage *_Nullable)guideIcon naviType:(BMKWalkCycleNavigationType)naviType;
205
213 - (void)onRoutePlanYawing:(NSString *_Nullable)yawingInfo guideIconName:(NSString *_Nullable)guideIconName naviType:(BMKWalkCycleNavigationType)naviType;
214
218 - (void)onReRouteComplete:(BMKWalkCycleNavigationType)naviType;
219
223 - (void)onReRouteFail:(BMKWalkCycleNavigationType)naviType;
224
228 - (void)onArriveDest:(BMKWalkCycleNavigationType)naviType;
229
233 - (void)onIndoorArriveDest:(BMKWalkCycleNavigationType)naviType;
234
238 - (void)onOutdoorArriveDest:(BMKWalkCycleNavigationType)naviType;
239
243 - (void)onVibrate:(BMKWalkCycleNavigationType)naviType;
244
246 - (void)onTrafficLightDataUpdate:(BMKWalkCycleNavigationType)naviType;
247
248 @end
249
250 #pragma mark - 步行导航TTS语音播报代理类
251
254 @protocol BMKWalkCycleTTSPlayerDelegate <NSObject>
255
256 @optional
257
264 - (void)onPlayTTSText:(NSString *_Nullable)text prior:(BOOL)prior naviType:(BMKWalkCycleNavigationType)naviType;
265
266 @end
267
268 @protocol BMKWalkCycleLocationServiceDelegate <NSObject>
269 @optional
275 - (void)doRequestAlwaysAuthorization:(CLLocationManager * _Nonnull)locationManager DEPRECATED_MSG_ATTRIBUTE("定位权限需要开发者主动申请");
276
282 - (void)onLocationServiceError:(BMKWalkCycleNavigationLocationServiceErrorCode)errorCode;
283
284 @end
285 NS_ASSUME_NONNULL_END
286 #endif /* BMKWalkCycleNavigationDelegates_h */
BMKWalkCycleManagerDelegate-p
Definition: BMKWalkCycleNavigationDelegates.h:63
BMKWalkNaviCalcRouteDelegate-p
Definition: BMKWalkCycleNavigationDelegates.h:45
BMKWalkCycleTTSPlayerDelegate-p
Definition: BMKWalkCycleNavigationDelegates.h:254
BMKWalkCycleSampleGuideInfo
Definition: BMKWalkCycleSampleGuideInfo.h:14
-[BMKWalkCycleManagerDelegate-p onNaviInBrowserStatusByGesture]
void onNaviInBrowserStatusByGesture()
BMKWalkCycleRouteGuidanceDelegate-p
Definition: BMKWalkCycleNavigationDelegates.h:93
BMKWalkCycleTrafficLightData.h
BMKWalkCycleDefine.h
BMKWalkCycleRoutePlanDelegate-p
Definition: BMKWalkCycleNavigationDelegates.h:26
BMKWalkCycleLocationServiceDelegate-p
Definition: BMKWalkCycleNavigationDelegates.h:268
BMKAuthorizeServiceModel.h
BMKWalkCycleSampleGuideInfo.h