百度导航SDK for iOS类参考
 All Classes Functions Properties
Instance Methods | List of all members
<BNNaviSoundDelegate> Protocol Reference
Inheritance diagram for <BNNaviSoundDelegate>:

Instance Methods

(void) - onPlayTTS:
 
(void) - onPlayVoiceSound:filePath:
 
(void) - onTTSAuthorized:
 

Method Documentation

- (void) onPlayTTS: (NSString *)  text

TTS文本回调

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

TTS音效回调

Parameters
type音效类型
filePath音频文件路径
- (void) onTTSAuthorized: (BOOL)  success

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


The documentation for this protocol was generated from the following file: