PromptBoxSpeechToTextButtonSettingsBuilder
Methods
Enable(System.Boolean)
Enables or disables the Speech to Text button.
Parameters
value - System.Boolean
The value for Enable
RETURNS
Returns the current PromptBoxSpeechToTextButtonSettingsBuilder instance.
Continuous(System.Boolean)
Enables continuous speech recognition mode. When enabled, recognition continues until manually stopped.
Parameters
value - System.Boolean
The value for Continuous
RETURNS
Returns the current PromptBoxSpeechToTextButtonSettingsBuilder instance.
Continuous()
Enables continuous speech recognition mode. When enabled, recognition continues until manually stopped.
RETURNS
Returns the current PromptBoxSpeechToTextButtonSettingsBuilder instance.
Lang(System.String)
Sets the language for speech recognition. Use standard language codes.
Parameters
value - System.String
The value for Lang
RETURNS
Returns the current PromptBoxSpeechToTextButtonSettingsBuilder instance.
InterimResults(System.Boolean)
Enables interim (partial) speech recognition results.
Parameters
value - System.Boolean
The value for InterimResults
RETURNS
Returns the current PromptBoxSpeechToTextButtonSettingsBuilder instance.
InterimResults()
Enables interim (partial) speech recognition results.
RETURNS
Returns the current PromptBoxSpeechToTextButtonSettingsBuilder instance.
MaxAlternatives(System.Double)
Sets the maximum number of alternative transcriptions to return.
Parameters
value - System.Double
The value for MaxAlternatives
RETURNS
Returns the current PromptBoxSpeechToTextButtonSettingsBuilder instance.
FillMode(Kendo.Mvc.UI.ButtonFillMode)
Defines the fill mode for the Speech to Text button.
Parameters
value - ButtonFillMode
The value for FillMode
RETURNS
Returns the current PromptBoxSpeechToTextButtonSettingsBuilder instance.
Icon(System.String)
Defines the font icon name for the Speech to Text button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
Parameters
icon - System.String
The icon.
RETURNS
Returns the current instance of PromptBoxSpeechToTextButtonSettingsBuilder .
Icon(System.Action)
Defines the font icon name for the Speech to Text button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
Parameters
configurator - System.Action<PromptBoxSpeechToTextButtonIconSettingsBuilder>
The configurator for the icon setting.
RETURNS
Returns the current instance of PromptBoxSpeechToTextButtonSettingsBuilder .
Rounded(Kendo.Mvc.UI.Rounded)
Defines the border radius for the Speech to Text button.
Parameters
value - Rounded
The value for Rounded
RETURNS
Returns the current PromptBoxSpeechToTextButtonSettingsBuilder instance.
Size(Kendo.Mvc.UI.ComponentSize)
Defines the size of the Speech to Text button.
Parameters
value - ComponentSize
The value for Size
RETURNS
Returns the current PromptBoxSpeechToTextButtonSettingsBuilder instance.
ThemeColor(Kendo.Mvc.UI.ThemeColor)
Defines the theme color for the Speech to Text button.
Parameters
value - ThemeColor
The value for ThemeColor
RETURNS
Returns the current PromptBoxSpeechToTextButtonSettingsBuilder instance.