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 Type
    Method
    Description
    int
    获取TTS当前播报状态
    int
    playTTSText(String speech, int bPreempt, int type)
    TTS播报文案
  • Method Details

    • playTTSText

      int playTTSText(String speech, int bPreempt, int type)
      Description copied from interface: com.baidu.platform.comapi.wnplatform.tts.IWTTSPlayerListener
      TTS播报文案
      Specified by:
      playTTSText in interface com.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:
      getTTSState in interface com.baidu.platform.comapi.wnplatform.tts.IWTTSPlayerListener
      Returns: