BNNaviSoundDelegate Protocol Reference

Conforms to NSObject
Declared in BNSoundProtocol.h

– onPlayTTS: required method

TTS文本回调

- (void)onPlayTTS:(NSString *)text

Discussion

TTS文本回调

Declared In

BNSoundProtocol.h

– onPlayVoiceSound:filePath: required method

TTS音效回调

- (void)onPlayVoiceSound:(BNVoiceSoundType)type filePath:(NSString *)filePath

Parameters

type

音效类型

filePath

音频文件路径

Discussion

TTS音效回调

Declared In

BNSoundProtocol.h

– onTTSAuthorized: required method

播报或进入导航的时候都会检测TTS是否鉴权成功 (1)如果还没鉴权成功,会尝试先鉴权,然后回调鉴权结果, (2)如果已经鉴权成功,也会回调鉴权成功

- (void)onTTSAuthorized:(BOOL)success

Discussion

播报或进入导航的时候都会检测TTS是否鉴权成功 (1)如果还没鉴权成功,会尝试先鉴权,然后回调鉴权结果, (2)如果已经鉴权成功,也会回调鉴权成功

Declared In

BNSoundProtocol.h