Package version:

Streaming Transcription.

interface TranscriptionData {
    confidence: number;
    durationInTicks: number;
    format: Display;
    offsetInTicks: number;
    participant: CommunicationIdentifier;
    resultState: string;
    text: string;
    words: WordData[];
}

Properties

confidence: number

Confidence of recognition of the whole phrase, from 0.0 (no confidence) to 1.0 (full confidence).

durationInTicks: number

Duration in ticks. 1 tick = 100 nanoseconds.

format: Display

The format of text.

offsetInTicks: number

The position of this payload. 1 tick = 100 nanoseconds.

participant: CommunicationIdentifier

The identified speaker based on participant raw ID.

resultState: string

State of the result of transcription.

text: string

The display form of the recognized word.

words: WordData[]

The result for each word of the phrase.