Instance Methods | |
(void) | - onPlayTTS: |
(void) | - onPlayVoiceSound:filePath: |
(void) | - onTTSAuthorized: |
- (void) onPlayTTS: | (NSString *) | text |
TTS文本回调
- (void) onPlayVoiceSound: | (BNVoiceSoundType) | type | |
filePath: | (NSString *) | filePath | |
TTS音效回调
type | 音效类型 |
filePath | 音频文件路径 |
- (void) onTTSAuthorized: | (BOOL) | success |
播报或进入导航的时候都会检测TTS是否鉴权成功 (1)如果还没鉴权成功,会尝试先鉴权,然后回调鉴权结果, (2)如果已经鉴权成功,也会回调鉴权成功