public class HttpSpeechSynthesisResult extends Object
For SSE streaming calls, the result contains binary audio data in audioData. For
non-SSE synchronous calls, the result contains an audio URL in audioInfo.
| 构造器和说明 |
|---|
HttpSpeechSynthesisResult() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getAudioDataSize()
Gets the size of the audio data in bytes.
|
String |
getAudioUrl()
Gets the audio URL.
|
boolean |
hasAudioData()
Checks if audio data is present in this result (SSE mode).
|
boolean |
hasAudioUrl()
Checks if audio URL is present in this result (non-SSE mode).
|
public boolean hasAudioData()
public int getAudioDataSize()
public boolean hasAudioUrl()
public String getAudioUrl()
Copyright © 2026. All rights reserved.