TranscriptionText

Represents a segment of transcribed text from the real-time transcription service.

Instances of this class are delivered via onTranscriptionText.

Code Example:


meeting.addEventListener(object : MeetingEventListener() {
    override fun onTranscriptionText(data: TranscriptionText) {
        val speaker = data.participantName
        val text = data.text
        val type = data.type // "interim" or "final"
        Log.d("Transcription", "[$type] $speaker: $text")
    }
})

See also

MeetingEventListener.onTranscriptionText()

Constructors

Link copied to clipboard
constructor(participantId: String, participantName: String, text: String, timestamp: Int, type: String)
Creates a new transcription text instance.

Properties

Link copied to clipboard
The ID of the participant who spoke.
Link copied to clipboard
The display name of the participant who spoke.
Link copied to clipboard
The transcribed text content.
Link copied to clipboard
The timestamp of this transcription segment.
Link copied to clipboard
The type of this transcription segment (e.g., partial or final).