BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

构造函数 | 所有成员列表
<BMKWalkCycleRouteGuidanceDelegate>协议 参考

`#import <BMKWalkCycleNavigationDelegates.h>`

类 <BMKWalkCycleRouteGuidanceDelegate> 继承关系图:

## 构造函数
(void) | - onSampleGuideInfoUpdate:naviType:
| 步骑行导航简易诱导信息,since 6.6.2,请联系商务或PM开通 更多...
(void) | - onRouteGuideIconUpdate:naviType:
(void) | - onRouteGuideIconNameUpdate:naviType:
(void) | - onRouteGuideKind:naviType:
(void) | - onRoadGuideTextUpdateFirst:second:naviType:
(void) | - onRemainTimeUpdate:naviType:
(void) | - onRemainDistanceUpdate:naviType:
(void) | - onRemaintrafficLightCountUpdate:naviType:
(void) | - onGpsStatusChange:guideIcon:naviType:
(void) | - onGpsPositionUpdate:naviType:
(void) | - onGpsStatusChange:guideIconName:naviType:
(void) | - onGpsStatusChange:
(void) | - onRouteFarAway:guideIcon:naviType:
(void) | - onRouteFarAway:guideIconName:naviType:
(void) | - onRoutePlanYawing:guideIcon:naviType:
(void) | - onRoutePlanYawing:guideIconName:naviType:
(void) | - onReRouteComplete:
(void) | - onReRouteFail:
(void) | - onArriveDest:
(void) | - onIndoorArriveDest:
(void) | - onOutdoorArriveDest:
(void) | - onVibrate:
(void) | - onTrafficLightDataUpdate:
| 红绿灯倒计时数据更新,通过对应导航manager的getTrafficLightData方法获取红绿灯倒计时数据 更多...

## 详细描述

步骑行导航诱导信息代理类

## 函数文档

## ◆ onArriveDest:

- (void) onArriveDest: |  | (BMKWalkCycleNavigationType) | naviType |
| optional

到达目的地

## ◆ onGpsPositionUpdate:naviType:

- (void) onGpsPositionUpdate: |  | (BMKWalkCycleNavigationData *_Nullable) | naviData
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

GPS位置发生改变，来自诱导引擎的消息

参数

  naviData | 绑路后的位置
  naviType | 导航类型

## ◆ onGpsStatusChange:

- (void) onGpsStatusChange: |  | (int) | status |
| optional

GPS状态发生变化，来自诱导引擎的消息。增加高级权限控制,since 6.6.2,请联系商务或PM开通

参数

  status | 0：GPS强弱 1：GPS强

## ◆ onGpsStatusChange:guideIcon:naviType:

- (void) onGpsStatusChange: |  | (NSString *_Nullable) | gspInfo
guideIcon: |  | (UIImage *_Nullable) | guideIcon
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

GPS状态发生变化，来自诱导引擎的消息

参数

  gspInfo | GPS信息
  guideIcon | GPS诱导图标

## ◆ onGpsStatusChange:guideIconName:naviType:

- (void) onGpsStatusChange: |  | (NSString *_Nullable) | gspInfo
guideIconName: |  | (NSString *_Nullable) | guideIconName
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

GPS状态发生变化，来自诱导引擎的消息。增加高级权限控制,since 6.6.2,请联系商务或PM开通

参数

  gspInfo | GPS信息
  guideIconName | GPS诱导图标名称
  naviType | 步骑行导航类型

## ◆ onIndoorArriveDest:

- (void) onIndoorArriveDest: |  | (BMKWalkCycleNavigationType) | naviType |
| optional

室内到达目的地

## ◆ onOutdoorArriveDest:

- (void) onOutdoorArriveDest: |  | (BMKWalkCycleNavigationType) | naviType |
| optional

室外到达目的地

## ◆ onRemainDistanceUpdate:naviType:

- (void) onRemainDistanceUpdate: |  | (NSString *_Nullable) | remainDistance
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

总的剩余距离

参数

  remainDistance | 剩余距离，单位：米,可强转为int

## ◆ onRemainTimeUpdate:naviType:

- (void) onRemainTimeUpdate: |  | (NSString *_Nullable) | remainTime
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

总的剩余时间

参数

  remainTime | 剩余时间，单位：秒,可强转为int

## ◆ onRemaintrafficLightCountUpdate:naviType:

- (void) onRemaintrafficLightCountUpdate: |  | (int) | trafficLightCount
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

剩余红绿灯个数

参数

  trafficLightCount | 剩余红绿灯个数

## ◆ onReRouteComplete:

- (void) onReRouteComplete: |  | (BMKWalkCycleNavigationType) | naviType |
| optional

重新算路成功

## ◆ onReRouteFail:

- (void) onReRouteFail: |  | (BMKWalkCycleNavigationType) | naviType |
| optional

重新算路失败

## ◆ onRoadGuideTextUpdateFirst:second:naviType:

- (void) onRoadGuideTextUpdateFirst: |  | (NSString *_Nullable) | firstSequence
second: |  | (NSString *_Nullable) | secondSequence
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

诱导信息。增加高级权限控制,since 6.6.2,请联系商务或PM开通

参数

  firstSequence | 第一行显示的信息，比如“沿当前道路”
  secondSequence | 第二行显示的信息，比如“向东出发”，第二行信息也可能为空

## ◆ onRouteFarAway:guideIcon:naviType:

- (void) onRouteFarAway: |  | (NSString *_Nullable) | rarAwayInfo
guideIcon: |  | (UIImage *_Nullable) | guideIcon
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

已经开始偏航

参数

  rarAwayInfo | 偏航信息
  guideIcon | 偏航诱导图标

## ◆ onRouteFarAway:guideIconName:naviType:

- (void) onRouteFarAway: |  | (NSString *_Nullable) | rarAwayInfo
guideIconName: |  | (NSString *_Nullable) | guideIconName
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

已经开始偏航。增加高级权限控制,since 6.6.2,请联系商务或PM开通

参数

  rarAwayInfo | 偏航信息
  guideIconName | 偏航诱导图标名称
  naviType | 步骑行导航类型

## ◆ onRouteGuideIconNameUpdate:naviType:

- (void) onRouteGuideIconNameUpdate: |  | (NSString *_Nullable) | iconName
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

诱导图标更新。增加高级权限控制,since 6.6.2,请联系商务或PM开通

参数

  iconName | 诱导图标名称
  naviType | 步骑行导航类型

## ◆ onRouteGuideIconUpdate:naviType:

- (void) onRouteGuideIconUpdate: |  | (UIImage *_Nullable) | icon
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

诱导图标更新。增加高级权限控制,since 6.6.2,请联系商务或PM开通

参数

  icon | 诱导图标

## ◆ onRouteGuideKind:naviType:

- (void) onRouteGuideKind: |  | (BMKWalkCycleGuideKind) | guideKind
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

诱导枚举信息。增加高级权限控制,since 6.6.2,请联系商务或PM开通

参数

  guideKind | 诱导信息

## ◆ onRoutePlanYawing:guideIcon:naviType:

- (void) onRoutePlanYawing: |  | (NSString *_Nullable) | yawingInfo
guideIcon: |  | (UIImage *_Nullable) | guideIcon
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

偏航规划中

参数

  yawingInfo | 偏航规划中的信息
  guideIcon | 偏航诱导图标

## ◆ onRoutePlanYawing:guideIconName:naviType:

- (void) onRoutePlanYawing: |  | (NSString *_Nullable) | yawingInfo
guideIconName: |  | (NSString *_Nullable) | guideIconName
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

偏航规划中。增加高级权限控制,since 6.6.2,请联系商务或PM开通

参数

  yawingInfo | 偏航规划中的信息
  guideIconName | 偏航诱导图标名称
  naviType | 步骑行导航类型

## ◆ onSampleGuideInfoUpdate:naviType:

- (void) onSampleGuideInfoUpdate: |  | (BMKWalkCycleSampleGuideInfo *_Nullable) | sampleGuideInfo
naviType: |  | (BMKWalkCycleNavigationType) | naviType
| optional

步骑行导航简易诱导信息,since 6.6.2,请联系商务或PM开通

## ◆ onTrafficLightDataUpdate:

- (void) onTrafficLightDataUpdate: |  | (BMKWalkCycleNavigationType) | naviType |
| optional

红绿灯倒计时数据更新,通过对应导航manager的getTrafficLightData方法获取红绿灯倒计时数据

## ◆ onVibrate:

- (void) onVibrate: |  | (BMKWalkCycleNavigationType) | naviType |
| optional

震动

该协议的文档由以下文件生成:

- BaiduMapAPI_WalkNavi.framework/Headers/BMKWalkCycleNavigationDelegates.h