New to Kendo UI for AngularStart a free 30-day trial

SpeechToTextButtonSettings

Defines the settings for the Speech to Text button.

typescript
const speechSettings: SpeechToTextButtonSettings = {
  continuous: true,
  lang: 'en-US',
  interimResults: false,
  disabled: false
};
NameTypeDefaultDescription

continuous?

boolean

Specifies whether the component returns continuous results for each recognition, or only a single result once recognition stops.

disabled?

boolean

When true, disables the SpeechToTextButton and prevents user interaction.

fillMode?

ButtonFillMode

Sets the background and border styles of the SpeechToTextButton.

integrationMode?

IntegrationMode

Specifies which speech recognition engine or integration the component should use. Allows the component to operate in different environments or use alternative implementations.

interimResults?

boolean

Specifies whether the component should return interim results or not. Interim results are results that are not yet final.

lang?

string

Specifies a BCP 47 language tag (e.g., 'en-US', 'bg-BG') used for speech recognition.

maxAlternatives?

number

Represents the maximum number of alternative transcriptions to return for each result.

rounded?

ButtonRounded

Sets the border radius of the SpeechToTextButton.

size?

ButtonSize

Sets the padding of the SpeechToTextButton.

themeColor?

ButtonThemeColor

Sets a predefined theme color for the SpeechToTextButton. The theme color applies as a background and border color and adjusts the text color.

Not finding the help you need?
Contact Support