public abstract class QwenTtsRealtimeCallback extends Object
| 构造器和说明 |
|---|
QwenTtsRealtimeCallback() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
onClose(int code,
String reason)
Will be called when the connection is closed.
|
abstract void |
onEvent(com.google.gson.JsonObject message)
Will be called as soon as the server replies.
|
void |
onOpen()
Will be called as soon as the connection is established, only for http stream request.
|
public void onOpen()
public abstract void onEvent(com.google.gson.JsonObject message)
message - The message body in json.public abstract void onClose(int code,
String reason)
Copyright © 2025. All rights reserved.