TranscriptionSegment

One chunk of an AI agent's transcript, delivered via ParticipantEventListener.onAgentTranscriptionReceived.

Segments arrive as the agent speaks, so a caption view appends them rather than replacing what it has.

Properties

Link copied to clipboard

The transcribed text — one chunk, not the transcript so far. Empty if none was sent.

Link copied to clipboard

When the agent produced this segment, in epoch milliseconds. The agent sends an ISO-8601 time, read as UTC when it carries no zone. 0 when it sent none or one that cannot be read, so order by arrival if you need a stable order.