类 TTSEvent

java.lang.Object
io.agentscope.core.model.tts.TTSEvent
直接已知子类:
TTSEvent.AppendTextEvent, TTSEvent.ClearEvent, TTSEvent.CommitEvent, TTSEvent.FinishEvent, TTSEvent.SessionUpdateEvent

public abstract class TTSEvent extends Object
Base class for TTS WebSocket events.

All events sent to the DashScope TTS service via WebSocket extend this class. Each event has a type and an event_id for tracking.

  • 构造器详细资料

    • TTSEvent

      protected TTSEvent(String type, String eventId)
  • 方法详细资料

    • getType

      public String getType()
    • getEventId

      public String getEventId()