UNPKG

@progress/kendo-angular-buttons

Version:
19 lines (18 loc) 961 B
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Arguments for the `result` event of the `SpeechToTextButton`. */ export interface SpeechToTextResultEvent { /** * Indicates whether the speech recognition result is final (true) or interim (false). */ isFinal: boolean; /** * An array of possible recognition alternatives returned by the speech engine. * Each alternative contains a transcript of the recognized speech and a confidence score (see [SpeechRecognitionAlternative](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionAlternative)). */ alternatives: SpeechRecognitionAlternative[]; }