Package io.elevenlabs.models
See: Description
-
Class Summary Class Description AudioFrame One decoded PCM chunk from the agent's remote audio track. AudioAlignment Audio alignment data event (structure can vary; exposed as a map) AgentResponseMetadata Agent response metadata (e.g., additional timing/semantic info) Structure varies; exposed as a map for flexibility. AgentChatResponsePart Streaming agent chat response parts type lifecycle: start -> delta... TentativeUserTranscript Tentative (partial) user transcript sent during recognition TentativeAgentResponse Tentative (partial) agent response text ConversationInitiationMetadata Event representing the metadata for the conversation Audio Event representing audio data AgentResponse Event representing a response from the agent AgentResponseCorrection Event representing a correction to the agent's response after interruption UserTranscript Event representing user speech transcription ClientToolCall Event representing a tool call from the agent AgentToolResponse Event representing a response from an agent tool call VadScore Event representing voice activity detection score Ping Event representing a ping from the agent Interruption Event representing an interruption of agent speech Matches payload: {"interruption_event":{"event_id":119},"type":"interruption"} ServerError Event representing a server error ConversationEvent Sealed class representing all possible conversation eventsThis provides type-safe event handling for real-time conversation communication between the client and ElevenLabs agents. Error Disconnection due to an error DisconnectionDetails Details about why a conversation session was disconnected. Message A single entry in the conversation transcript, reconciled by the SDK and exposed via io.elevenlabs.ConversationSession.messages. UserMessage User message event UserActivity Feedback Feedback event ContextualUpdate Contextual update event ClientToolResult Tool result event Note: result must be a String (plain text or JSON string), not a Map/Object. Pong Pong reply for ping OutgoingEvent Base class for outgoing events that can be sent to the server ConnectionStatusKt -
Interface Summary Interface Description Status Base interface for all status enums to provide common functionality and ensure consistent naming across different status types. -
Enum Summary Enum Description AgentResponsePartType Lifecycle position of a streamed agent chat response part. ConversationMode Enum representing the current mode of the conversation ConversationStatus Enum representing the current status of a conversation sessionThis represents the high-level conversation lifecycle that app developers interact with, abstracting away low-level network connection details. MessageRole Enum representing who sent a message