BNSoundProtocol Protocol Reference

Conforms to NSObject
Declared in BNSoundProtocol.h

– isTTSPlaying required method

是否正在播报

- (BOOL)isTTSPlaying

Return Value

是否正在播报

Discussion

是否正在播报

Declared In

BNSoundProtocol.h

– pause required method

暂停播报

- (BOOL)pause

Discussion

暂停播报

Declared In

BNSoundProtocol.h

– resume required method

恢复播报

- (BOOL)resume

Discussion

恢复播报

Declared In

BNSoundProtocol.h

– playText: required method

播报文本,使用内部TTS播报时有效

- (BOOL)playText:(NSString *)text

Parameters

text

: 需要播报的文本

Discussion

播报文本,使用内部TTS播报时有效

Declared In

BNSoundProtocol.h

– setSoundDelegate: required method

设置导航播报的delegate

- (void)setSoundDelegate:(id<BNNaviSoundDelegate>)delegate

Discussion

设置导航播报的delegate

Declared In

BNSoundProtocol.h