类 RealtimeTTSResponseEvent.UnknownEvent

java.lang.Object
io.agentscope.core.model.tts.RealtimeTTSResponseEvent
io.agentscope.core.model.tts.RealtimeTTSResponseEvent.UnknownEvent
封闭类:
RealtimeTTSResponseEvent

public static class RealtimeTTSResponseEvent.UnknownEvent extends RealtimeTTSResponseEvent
Unknown event type (fallback for unregistered event types).

This class is used as the default implementation when Jackson encounters an event type that is not registered in @JsonSubTypes. This allows the code to gracefully handle new event types from the API without throwing exceptions.

  • 构造器详细资料

    • UnknownEvent

      public UnknownEvent(String type)