Class OtherEvent


  • public final class OtherEvent
    extends ConversationStreamEvent
    An event type not recognized by this SDK version, carried as raw JSON text so callers aren't broken by future additions to the API.
    • Constructor Detail

      • OtherEvent

        public OtherEvent()
    • Method Detail

      • getEvent

        public String getEvent()
        Returns the SSE envelope's event field (the event type name) of whatever event type this SDK version doesn't yet recognize as one of the other ConversationStreamEvent subclasses (see its class documentation for the full list).
        Returns:
        event type name
      • getJson

        public String getJson()
        Returns the raw event payload as JSON text.
        Returns:
        raw event payload (JSON text)