Instance Methods | |
(void) | - initNaviService:success:fail: |
(void) | - authorizeNaviAppKey:completion: |
(void) | - authorizeTTSAppId:apiKey:secretKey:completion: |
(BOOL) | - isServicesInited |
(void) | - stopServices |
(id< BNUIManagerProtocol >) | - uiManager |
(id< BNRoutePlanManagerProtocol >) | - routePlanManager |
(id< BNStrategyManagerProtocol >) | - strategyManager |
(id< BNLocationManagerProtocol >) | - locationManager |
(id< BNMapManagerProtocol >) | - mapManager |
(id< BNSoundProtocol >) | - soundManager |
(id< BNMapOverlayProtocol >) | - mapOverlayManager |
(id< BNDigitDogManagerProtocol >) | - digitDogManager |
(id< BNMapViewManagerProtocol >) | - mapViewManager |
(id< BNDriveRouteProtocol >) | - driveRouteManager |
Class Methods | |
(BNaviService *) | + getInstance |
(void) | + releaseInstance |
(NSString *) | + sdkVersion |
- (void) authorizeNaviAppKey: | (NSString *) | appKey | |
completion: | (void(^)(BOOL suc)) | completion | |
导航SDK鉴权
appKey | 地图开放平台上注册的ak |
completion | 回调 |
- (void) authorizeTTSAppId: | (NSString *) | appId | |
apiKey: | (NSString *) | apiKey | |
secretKey: | (NSString *) | secretKey | |
completion: | (void(^)(BOOL suc)) | completion | |
TTS SDK鉴权(需要到http://yuyin.baidu.com/app注册app)
appId | appId |
apiKey | apiKey |
secretKey | secretKey |
completion | 回调 |
- (id<BNDigitDogManagerProtocol>) digitDogManager |
电子狗模块管理对象
- (id<BNDriveRouteProtocol>) driveRouteManager |
驾车路线管理器
+ (BNaviService *) getInstance |
获取导航整体服务单例对象
- (void) initNaviService: | (NSDictionary *) | params | |
success: | (dispatch_block_t) | succes | |
fail: | (dispatch_block_t) | fail | |
初始化导航SDK
params | 初始化参数 |
succes | 成功回调 |
fail | 失败回调 |
- (BOOL) isServicesInited |
查询引擎是否初始化完成
- (id<BNLocationManagerProtocol>) locationManager |
获取定位服务器,用于获取当前定位
- (id<BNMapManagerProtocol>) mapManager |
获取底图服务对象
- (id<BNMapOverlayProtocol>) mapOverlayManager |
获取图层管理实例对象
- (id<BNMapViewManagerProtocol>) mapViewManager |
地图管理器
+ (void) releaseInstance |
释放单体
- (id<BNRoutePlanManagerProtocol>) routePlanManager |
获取路径规划管理器,用于路径规划
+ (NSString*) sdkVersion |
获取SDK版本号
- (id<BNSoundProtocol>) soundManager |
获取语音播报管理对象
- (void) stopServices |
停止所有服务
- (id<BNStrategyManagerProtocol>) strategyManager |
获取策略管理器,用于调整在离线策略、白天黑夜策略、横竖向切换策略等等
- (id<BNUIManagerProtocol>) uiManager |
获取到导航过程页管理器,用于进入退出导航过程页