FMKVoiceNavigationManager Class Reference

Inherits from NSObject
Declared in FMKVoiceNavigationManager.h
FMKVoiceNavigationManager.mm

Other Methods

– setNavigationPredictionSegments:

设置路径规划完成后得到的路段信息

- (void)setNavigationPredictionSegments:(NSArray<FMKTextNavigationSegment*> *)segments

Parameters

segments

路段信息

Discussion

设置路径规划完成后得到的路段信息

Declared In

FMKVoiceNavigationManager.h

– setNavigationTextDescriptions:

设置导航文本描述

- (void)setNavigationTextDescriptions:(NSArray<NSString*> *)descriptions

Parameters

descriptions

文本描述

Discussion

设置导航文本描述

Declared In

FMKVoiceNavigationManager.h

– setNavigationResults:

设置路径规划结果

- (void)setNavigationResults:(NSArray<FMKNaviResult*> *)naviResults

Parameters

naviResults

路径规划结果 通过FMKNaviAnalyser路算结果

Discussion

设置路径规划结果

Declared In

FMKVoiceNavigationManager.h

– clearNavigationPredictionSegments

清除路段信息

- (void)clearNavigationPredictionSegments

Discussion

清除路段信息

Declared In

FMKVoiceNavigationManager.h

– clearNavigationResults

清空路算结果

- (void)clearNavigationResults

Discussion

清空路算结果

Declared In

FMKVoiceNavigationManager.h

– startSimulateNavigation

开启模拟导航,模拟导航开启时内部开启计时器模拟在路径线上行走并播放语音

- (BOOL)startSimulateNavigation

Discussion

开启模拟导航,模拟导航开启时内部开启计时器模拟在路径线上行走并播放语音

Declared In

FMKVoiceNavigationManager.h

– setSimulateNavigationSpeed:

设置模拟导航的速度

- (void)setSimulateNavigationSpeed:(float)speed

Parameters

speed

模拟导航速度 单位为米/秒 m/s,范围为0.4~1.5 默认为0.6m/s

Discussion

设置模拟导航的速度

Declared In

FMKVoiceNavigationManager.h

– stopSimulateNavigation

停止模拟导航

- (void)stopSimulateNavigation

Discussion

停止模拟导航

Declared In

FMKVoiceNavigationManager.h

Other Methods

  customVoiceSpeech

是否使用第三方语音 若设置为YES,则使用用户自定义第三方语音服务 默认为NO,使用系统语音库播放

@property (nonatomic) BOOL customVoiceSpeech

Discussion

是否使用第三方语音 若设置为YES,则使用用户自定义第三方语音服务 默认为NO,使用系统语音库播放

Declared In

FMKVoiceNavigationManager.h

  delegate

实现了 FMKVoiceNavigationManagerDelegate 协议的类指针

@property (nonatomic, weak, nullable) id<FMKVoiceNavigationManagerDelegate> delegate

Discussion

实现了 FMKVoiceNavigationManagerDelegate 协议的类指针

Declared In

FMKVoiceNavigationManager.h