类 RealtimeTTSResponseEvent
java.lang.Object
io.agentscope.core.model.tts.RealtimeTTSResponseEvent
- 直接已知子类:
RealtimeTTSResponseEvent.ErrorEvent,RealtimeTTSResponseEvent.InputTextBufferClearedEvent,RealtimeTTSResponseEvent.InputTextBufferCommittedEvent,RealtimeTTSResponseEvent.ResponseAudioDeltaEvent,RealtimeTTSResponseEvent.ResponseAudioDoneEvent,RealtimeTTSResponseEvent.ResponseContentPartAddedEvent,RealtimeTTSResponseEvent.ResponseContentPartDoneEvent,RealtimeTTSResponseEvent.ResponseCreatedEvent,RealtimeTTSResponseEvent.ResponseDoneEvent,RealtimeTTSResponseEvent.ResponseOutputItemAddedEvent,RealtimeTTSResponseEvent.ResponseOutputItemDoneEvent,RealtimeTTSResponseEvent.SessionCreatedEvent,RealtimeTTSResponseEvent.SessionFinishedEvent,RealtimeTTSResponseEvent.SessionUpdatedEvent,RealtimeTTSResponseEvent.UnknownEvent
Base class for WebSocket response events from DashScope Realtime TTS API.
All events received from the DashScope TTS service via WebSocket extend this class. Each event has a type for identification.
-
嵌套类概要
嵌套类修饰符和类型类说明static classError event.static classInput text buffer cleared event.static classInput text buffer committed event.static classResponse audio delta event (contains audio data).static classResponse audio done event.static classResponse content part added event.static classResponse content part done event.static classResponse created event.static classResponse done event.static classResponse output item added event.static classResponse output item done event.static classSession created event.static classSession finished event.static classSession updated event.static classUnknown event type (fallback for unregistered event types). -
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
RealtimeTTSResponseEvent
-
-
方法详细资料
-
getType
-