Defines the fluent API for configuring the Kendo UI SpeechToTextButton
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SpeechToTextButtonBuilder : WidgetBuilderBase<SpeechToTextButton, SpeechToTextButtonBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<SpeechToTextButton, SpeechToTextButtonBuilder>SpeechToTextButtonBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the SpeechToTextButtonBuilder class.
public SpeechToTextButtonBuilder(SpeechToTextButton component)
Methods
Controls whether continuous results are returned for each recognition, or only a single result once recognition stops.
public SpeechToTextButtonBuilder Continuous()
Returns the current SpeechToTextButtonBuilder instance.
Controls whether continuous results are returned for each recognition, or only a single result once recognition stops.
public SpeechToTextButtonBuilder Continuous(bool value)
The value for Continuous
Returns:Returns the current SpeechToTextButtonBuilder instance.
Indicates whether the button must be enabled or disabled. By default, it is enabled, unless a disabled="disabled" attribute is detected.
public SpeechToTextButtonBuilder Enable(bool value)
The value for Enable
Returns:Returns the current SpeechToTextButtonBuilder instance.
Configures the client-side events.
public SpeechToTextButtonBuilder Events(Action<SpeechToTextButtonEventBuilder> configurator)
The client events action.
Returns:Returns the current SpeechToTextButtonBuilder instance.
Sets a value controlling how the color is applied.
public SpeechToTextButtonBuilder FillMode(ButtonFillMode? value)
The value for FillMode
Returns:Returns the current SpeechToTextButtonBuilder instance.
The name of the Kendo UI font icon to be displayed in the button when it is not active (not listening).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.
public SpeechToTextButtonBuilder Icon(Action<SpeechToTextButtonIconSettingsBuilder> configurator)
The SpeechToTextButtonIconSettingsBuilder for the icon setting.
Returns:Returns the current instance of SpeechToTextButtonBuilder .
The name of the Kendo UI font icon to be displayed in the button when it is not active (not listening).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.
public SpeechToTextButtonBuilder Icon(string icon)
The icon.
Returns:Returns the current instance of SpeechToTextButtonBuilder .
Specifies which speech recognition engine or integration the component should use.
public SpeechToTextButtonBuilder IntegrationMode(IntegrationMode value)
The value for IntegrationMode
Returns:Returns the current SpeechToTextButtonBuilder instance.
Controls whether interim results should be returned (true) or not (false). Interim results are results that are not yet final.
public SpeechToTextButtonBuilder InterimResults()
Returns the current SpeechToTextButtonBuilder instance.
Controls whether interim results should be returned (true) or not (false). Interim results are results that are not yet final.
public SpeechToTextButtonBuilder InterimResults(bool value)
The value for InterimResults
Returns:Returns the current SpeechToTextButtonBuilder instance.
Specifies a BCP 47 language tag (e.g., 'en-US', 'fr-FR') used for speech recognition.
public SpeechToTextButtonBuilder Lang(string value)
The value for Lang
Returns:Returns the current SpeechToTextButtonBuilder instance.
Represents the maximum number of alternative transcriptions to return for each result.
public SpeechToTextButtonBuilder MaxAlternatives(double value)
The value for MaxAlternatives
Returns:Returns the current SpeechToTextButtonBuilder instance.
Allows customization of the messages displayed by the widget.
public SpeechToTextButtonBuilder Messages(Action<SpeechToTextButtonMessagesSettingsBuilder> configurator)
The SpeechToTextButtonMessagesSettingsBuilder for the messages setting.
Returns:Returns the current instance of SpeechToTextButtonBuilder .
Sets a value controlling the border radius.
public SpeechToTextButtonBuilder Rounded(Rounded? value)
The value for Rounded
Returns:Returns the current SpeechToTextButtonBuilder instance.
Sets the size of the component.
public SpeechToTextButtonBuilder Size(ComponentSize? value)
The value for Size
Returns:Returns the current SpeechToTextButtonBuilder instance.
The name of the Kendo UI font icon to be displayed in the button when it is active (listening).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.
public SpeechToTextButtonBuilder StopIcon(Action<SpeechToTextButtonStopIconSettingsBuilder> configurator)
The SpeechToTextButtonStopIconSettingsBuilder for the stopicon setting.
Returns:Returns the current instance of SpeechToTextButtonBuilder .
The name of the Kendo UI font icon to be displayed in the button when it is active (listening).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.
public SpeechToTextButtonBuilder StopIcon(string stopIcon)
The stopicon.
Returns:Returns the current instance of SpeechToTextButtonBuilder .
Sets the color of the component according to the applied theme.
public SpeechToTextButtonBuilder ThemeColor(ThemeColor? value)
The value for ThemeColor
Returns:Returns the current SpeechToTextButtonBuilder instance.