View as Markdown

API reference: @salmonui/inputs/speech-to-text

SpeechTranscriptDetailsinterface

import type { SpeechTranscriptDetails } from '@salmonui/inputs/speech-to-text';
interface SpeechTranscriptDetails {
    readonly final: boolean;
}

Second argument of onTranscriptChange: final is true when every result of the session is final.

SpeechTranscriptDetails members (1)
NameSignatureDescription
finalreadonly final: boolean;