Class QwenLiveConversation

java.lang.Object
com.alibaba.dashscope.legacy_2x.audio.live.QwenLiveConversation

@Deprecated public class QwenLiveConversation extends Object
Deprecated.
  • Constructor Details

  • Method Details

    • connect

      public void connect() throws NoApiKeyException, InterruptedException
      Deprecated.
      Throws:
      NoApiKeyException
      InterruptedException
    • checkStatus

      public void checkStatus()
      Deprecated.
    • updateSession

      public String updateSession(QwenLiveSessionConfig config)
      Deprecated.
    • appendAudio

      public String appendAudio(String audioBase64)
      Deprecated.
    • appendAudioBytes

      public String appendAudioBytes(byte[] audio)
      Deprecated.
    • appendAudioBytes

      public String appendAudioBytes(byte[] audio, int offset, int length)
      Deprecated.
    • muteInputAudio

      public String muteInputAudio()
      Deprecated.
    • unmuteInputAudio

      public String unmuteInputAudio()
      Deprecated.
    • appendInstruction

      public String appendInstruction(String delegationId, String content)
      Deprecated.
    • appendThinking

      public String appendThinking(String delegationId, String content)
      Deprecated.
    • appendCommentary

      public String appendCommentary(String delegationId, String content)
      Deprecated.
    • createResponseItem

      public String createResponseItem(com.google.gson.JsonObject item)
      Deprecated.
    • createResponse

      public String createResponse()
      Deprecated.
    • sendRaw

      public String sendRaw(String rawJson)
      Deprecated.
    • close

      public void close()
      Deprecated.
    • close

      public void close(int code, String reason)
      Deprecated.
    • cancel

      public void cancel()
      Deprecated.
    • awaitSessionClosed

      public boolean awaitSessionClosed(int timeoutSeconds) throws InterruptedException
      Deprecated.
      Throws:
      InterruptedException
    • getSessionId

      public String getSessionId()
      Deprecated.
    • getCloseReason

      public String getCloseReason()
      Deprecated.