OpenSDKv5.7.2
构造函数 | 属性 | 所有成员列表
<BNDriveRouteProtocol>协议 参考

驾车页模块接口 更多...

#import <BNDriveRouteProtocol.h>

类 <BNDriveRouteProtocol> 继承关系图:
Inheritance graph
[图例]
<BNDriveRouteProtocol> 的协作图:
Collaboration graph
[图例]

构造函数

(void) - showRouteViewAll:animated:
 全览路线 更多...
 
(void) - selectRouteAtIndex:
 选中路线,调用该接口后,同时会高亮该路线 更多...
 
(void) - viewWillAppear:
 驾车路线页即将显示,在viewWillAppear中调用 更多...
 
(void) - viewWillDisAppear:
 驾车路线页即将消失,在viewWillDisAppear中调用 更多...
 
(void) - startUpdateLocation
 
(void) - stopUpdateLocation
 
(BNCarRouteModel *) - getCurrentCarRouteData
 
(void) - destory
 销毁BNDriveRouteManager相关资源 更多...
 

属性

id< BNDriveRouteManagerDelegatedelegate
 路线结果页面相关事件回调的delegate 更多...
 

详细描述

驾车页模块接口

在文件 BNDriveRouteProtocol.h24 行定义.

函数文档

◆ destory

- (void) destory

销毁BNDriveRouteManager相关资源

◆ getCurrentCarRouteData

- (BNCarRouteModel *) getCurrentCarRouteData

◆ selectRouteAtIndex:

- (void) selectRouteAtIndex: (NSUInteger)  routeIndex

选中路线,调用该接口后,同时会高亮该路线

参数
routeIndex路线序号(从0开始)

◆ showRouteViewAll:animated:

- (void) showRouteViewAll: (BNMargin margin
animated: (BOOL)  animated 

全览路线

参数
margin需要显示的路线范围的margin
animated全览是否需要动画

◆ startUpdateLocation

- (void) startUpdateLocation

◆ stopUpdateLocation

- (void) stopUpdateLocation

◆ viewWillAppear:

- (void) viewWillAppear: (UIView *)  parentView

驾车路线页即将显示,在viewWillAppear中调用

参数
parentViewmapView的父view

◆ viewWillDisAppear:

- (void) viewWillDisAppear: (UIView *)  parentView

驾车路线页即将消失,在viewWillDisAppear中调用

参数
parentViewmapView的父view

属性说明

◆ delegate

- (id<BNDriveRouteManagerDelegate>) delegate
readwritenonatomicweak

路线结果页面相关事件回调的delegate

在文件 BNDriveRouteProtocol.h29 行定义.


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