-
public class ConversationEventSealed class representing all possible conversation events
This provides type-safe event handling for real-time conversation communication between the client and ElevenLabs agents.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classConversationEvent.AudioAlignmentAudio alignment data event (structure can vary; exposed as a map)
public final classConversationEvent.AgentResponseMetadataAgent response metadata (e.g., additional timing/semantic info) Structure varies; exposed as a map for flexibility.
public final classConversationEvent.AgentChatResponsePartStreaming agent chat response parts type lifecycle: start -> delta... -> stop
public final classConversationEvent.TentativeUserTranscriptTentative (partial) user transcript sent during recognition
public final classConversationEvent.TentativeAgentResponseTentative (partial) agent response text
public final classConversationEvent.ConversationInitiationMetadataEvent representing the metadata for the conversation
public final classConversationEvent.AudioEvent representing audio data
public final classConversationEvent.AgentResponseEvent representing a response from the agent
public final classConversationEvent.AgentResponseCorrectionEvent representing a correction to the agent's response after interruption
public final classConversationEvent.UserTranscriptEvent representing user speech transcription
public final classConversationEvent.ClientToolCallEvent representing a tool call from the agent
public final classConversationEvent.AgentToolResponseEvent representing a response from an agent tool call
public final classConversationEvent.VadScoreEvent representing voice activity detection score
public final classConversationEvent.PingEvent representing a ping from the agent
public final classConversationEvent.InterruptionEvent representing an interruption of agent speech Matches payload: {"interruption_event":{"event_id":119},"type":"interruption"}
public final classConversationEvent.ServerErrorEvent representing a server error
-