Package com.baidu.mapapi.tts
Interface WNTTSManager.IWNOuterTTSPlayerCallback
- All Superinterfaces:
com.baidu.platform.comapi.wnplatform.tts.IWTTSPlayerListener
- Enclosing class:
- WNTTSManager
public static interface WNTTSManager.IWNOuterTTSPlayerCallback
extends com.baidu.platform.comapi.wnplatform.tts.IWTTSPlayerListener
-
Field Summary
Fields inherited from interface com.baidu.platform.comapi.wnplatform.tts.IWTTSPlayerListener
PLAYER_STATE_ERROR, PLAYER_STATE_IDLE, PLAYER_STATE_NOT_INIT, PLAYER_STATE_PAUSE, PLAYER_STATE_PLAYING -
Method Summary
Modifier and TypeMethodDescriptionint获取TTS当前播报状态intplayTTSText(String speech, int bPreempt, int type) TTS播报文案
-
Method Details
-
playTTSText
Description copied from interface:com.baidu.platform.comapi.wnplatform.tts.IWTTSPlayerListenerTTS播报文案- Specified by:
playTTSTextin interfacecom.baidu.platform.comapi.wnplatform.tts.IWTTSPlayerListener- Parameters:
speech- 播报文案bPreempt- 是否抢占播报- Returns:
-
getTTSState
int getTTSState()Description copied from interface:com.baidu.platform.comapi.wnplatform.tts.IWTTSPlayerListener获取TTS当前播报状态- Specified by:
getTTSStatein interfacecom.baidu.platform.comapi.wnplatform.tts.IWTTSPlayerListener- Returns:
-