高德地图SDK(导航)  V11.1.000
<AMapNaviRideDataRepresentable> Protocol Reference

AMapNaviRideDataRepresentable协议.实例对象可以通过实现该协议,并将其通过 AMapNaviRideManager 的addDataRepresentative:方法进行注册,便可获取导航过程中的导航数据更新. AMapNaviRideDataRepresentable Protocol. Instance objects can implement this protocol and register it through the addDataRepresentative: method of AMapNaviRideManager to receive navigation data updates during the navigation process. 可以根据不同需求,选取使用特定的数据进行导航界面自定义. The navigation interface can be customized by selecting specific data according to different needs. AMapNaviRideView 即通过该协议实现导航过程展示.也可以依据导航数据的更新进行其他的逻辑处理. AMapNaviRideView displays the navigation process through this protocol. Other logic processing can also be performed based on the update of navigation data. More...

#import <AMapNaviRideDataRepresentable.h>

Inheritance diagram for <AMapNaviRideDataRepresentable>:
AMapNaviRideView

Instance Methods

(void) - rideManager:updateNaviMode:
 导航模式更新回调 Navigation mode update callback More...
 
(void) - rideManager:updateNaviRouteID:
 路径ID更新回调. 注意:请不要在此回调中调用 -selectNaviRouteWithRouteID: 接口,否则会出现死循环调用. Route ID update callback. Note: Please do not call the -selectNaviRouteWithRouteID: interface in this callback, otherwise it will cause an infinite loop call. More...
 
(void) - rideManager:updateNaviRoute:
 路径信息更新回调. 注意:请不要在此回调中调用 -selectNaviRouteWithRouteID: 接口,否则会出现死循环调用. Path Information Update Callback. Note: Please do not call the -selectNaviRouteWithRouteID: interface in this callback, otherwise it will cause an infinite loop call. More...
 
(void) - rideManager:updateNaviInfo:
 导航信息更新回调 Navigation Information Update Callback More...
 
(void) - rideManager:updateNaviLocation:
 自车位置更新回调 Self-Vehicle Position Update Callback More...
 

Detailed Description

AMapNaviRideDataRepresentable协议.实例对象可以通过实现该协议,并将其通过 AMapNaviRideManager 的addDataRepresentative:方法进行注册,便可获取导航过程中的导航数据更新. AMapNaviRideDataRepresentable Protocol. Instance objects can implement this protocol and register it through the addDataRepresentative: method of AMapNaviRideManager to receive navigation data updates during the navigation process. 可以根据不同需求,选取使用特定的数据进行导航界面自定义. The navigation interface can be customized by selecting specific data according to different needs. AMapNaviRideView 即通过该协议实现导航过程展示.也可以依据导航数据的更新进行其他的逻辑处理. AMapNaviRideView displays the navigation process through this protocol. Other logic processing can also be performed based on the update of navigation data.

Method Documentation

◆ rideManager:updateNaviInfo:

- (void) rideManager: (AMapNaviRideManager *)  rideManager
updateNaviInfo: (nullable AMapNaviInfo *)  naviInfo 
optional

导航信息更新回调 Navigation Information Update Callback

Parameters
rideManager骑行导航管理类 Cycling Navigation Management class
naviInfo导航信息,参考 AMapNaviInfo 类 Navigation Information, refer to AMapNaviInfo class

◆ rideManager:updateNaviLocation:

- (void) rideManager: (AMapNaviRideManager *)  rideManager
updateNaviLocation: (nullable AMapNaviLocation *)  naviLocation 
optional

自车位置更新回调 Self-Vehicle Position Update Callback

Parameters
rideManager骑行导航管理类 Cycling Navigation Management class
naviLocation自车位置信息,参考 AMapNaviLocation 类 Self-Vehicle Position Information, refer to AMapNaviLocation class

◆ rideManager:updateNaviMode:

- (void) rideManager: (AMapNaviRideManager *)  rideManager
updateNaviMode: (AMapNaviMode naviMode 
optional

导航模式更新回调 Navigation mode update callback

Parameters
rideManager骑行导航管理类 Cycling Navigation Management class
naviMode导航模式,参考 AMapNaviMode 值 Navigation mode, refer to AMapNaviMode value

◆ rideManager:updateNaviRoute:

- (void) rideManager: (AMapNaviRideManager *)  rideManager
updateNaviRoute: (nullable AMapNaviRoute *)  naviRoute 
optional

路径信息更新回调. 注意:请不要在此回调中调用 -selectNaviRouteWithRouteID: 接口,否则会出现死循环调用. Path Information Update Callback. Note: Please do not call the -selectNaviRouteWithRouteID: interface in this callback, otherwise it will cause an infinite loop call.

Parameters
rideManager骑行导航管理类 Cycling Navigation Management class
naviRoute路径信息,参考 AMapNaviRoute 类 Path Information, refer to AMapNaviRoute class

◆ rideManager:updateNaviRouteID:

- (void) rideManager: (AMapNaviRideManager *)  rideManager
updateNaviRouteID: (NSInteger)  naviRouteID 
optional

路径ID更新回调. 注意:请不要在此回调中调用 -selectNaviRouteWithRouteID: 接口,否则会出现死循环调用. Route ID update callback. Note: Please do not call the -selectNaviRouteWithRouteID: interface in this callback, otherwise it will cause an infinite loop call.

Parameters
rideManager骑行导航管理类 Cycling Navigation Management class
naviRouteID导航路径ID Navigation Path ID

The documentation for this protocol was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。