|
TencentNavKit
|
语音播报器协议 More...
#import <TNKAudioPlayerProtocol.h>
Instance Methods | |
| (void) | - playWithAudioParam: |
| 播放自定义文字, 可放入播放队列中。如果执行stop方法,则队列中的播报内容也会被清除。 since 5.3.8 More... | |
| (void) | - playWithNaviTTS: |
| 播放导航诱导信息 More... | |
| (void) | - stop |
| 停止当前播报内容. More... | |
Properties | |
| id< TNKAudioPlayerDelegate > | delegate |
| TNKAudioPlayer的回调. 用于接收播报状态等事件. More... | |
| BOOL | isPlaying |
| 语音播报器是否在播放状态. More... | |
| float | volume |
| 控制音量,设置范围[0, 1]T More... | |
语音播报器协议
| - (void) playWithAudioParam: | (TNKAudioParam *) | audioParam |
播放自定义文字, 可放入播放队列中。如果执行stop方法,则队列中的播报内容也会被清除。 since 5.3.8
| audioParam | 播报信息 |
| - (void) playWithNaviTTS: | (TNKNavTTS *) | naviTTS |
播放导航诱导信息
| naviTTS | 播报信息 |
| - (void) stop |
停止当前播报内容.
|
readwritenonatomicweak |
TNKAudioPlayer的回调. 用于接收播报状态等事件.
|
readnonatomicassign |
语音播报器是否在播放状态.
|
readwritenonatomicassign |
控制音量,设置范围[0, 1]T