SpeechToTextButtonSettings
Defines the settings for the Speech to Text button.
const speechSettings: SpeechToTextButtonSettings = {
continuous: true,
lang: 'en-US',
interimResults: false,
disabled: false
};
Name | Type | Default | Description |
---|---|---|---|
continuous? |
|
Specifies whether the component returns continuous results for each recognition, or only a single result once recognition stops. | |
disabled? |
|
When | |
fillMode? |
|
Sets the background and border styles of the SpeechToTextButton. | |
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? |
|
Specifies whether the component should return interim results or not. Interim results are results that are not yet final. | |
lang? |
|
Specifies a | |
maxAlternatives? |
|
Represents the maximum number of alternative transcriptions to return for each result. | |
rounded? |
|
Sets the border radius of the SpeechToTextButton. | |
size? |
|
Sets the padding of the SpeechToTextButton. | |
themeColor? |
|
Sets a predefined theme color for the SpeechToTextButton. The theme color applies as a background and border color and adjusts the text color. |