Class QwenTtsRealtimeCallback
java.lang.Object
com.alibaba.dashscope.legacy_2x.audio.qwen_tts_realtime.QwenTtsRealtimeCallback
Deprecated.
- Author:
- lengjiayi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidDeprecated.Will be called when the connection is closed.abstract voidonEvent(com.google.gson.JsonObject message) Deprecated.Will be called as soon as the server replies.voidonOpen()Deprecated.Will be called as soon as the connection is established, only for http stream request.
-
Constructor Details
-
QwenTtsRealtimeCallback
public QwenTtsRealtimeCallback()Deprecated.
-
-
Method Details
-
onOpen
public void onOpen()Deprecated.Will be called as soon as the connection is established, only for http stream request. -
onEvent
public abstract void onEvent(com.google.gson.JsonObject message) Deprecated.Will be called as soon as the server replies.- Parameters:
message- The message body in json.
-
onClose
Deprecated.Will be called when the connection is closed.
-