Package io.elevenlabs.models
See: Description
-
Interface Summary Interface Description Status Base interface for all status enums to provide common functionality and ensure consistent naming across different status types. -
Class Summary Class Description 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"} 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 Represents a message in the conversation ConnectionStatusKt -
Enum Summary Enum Description 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