Transcription Text
class TranscriptionText(participantId: String, participantName: String, text: String, timestamp: Long, type: TranscriptionType?)
One transcribed utterance, delivered to RoomEventListener.onTranscriptionText.
Every participant receives every speaker's utterances, not just their own.
Constructors
Link copied to clipboard
constructor(participantId: String, participantName: String, text: String, timestamp: Long, type: TranscriptionType?)
Functions
Link copied to clipboard
The speaker's participant id, or "" when the server sent none.
Link copied to clipboard
The speaker's display name.
Link copied to clipboard
The service's timestamp for the utterance, or 0 when the payload carried none.
Link copied to clipboard
TranscriptionType.REALTIME while the utterance may still change, TranscriptionType.FULL_SENTENCE once it has settled, or null for a value this SDK does not know. Append to a transcript only on TranscriptionType.FULL_SENTENCE.