SpeechToTextButton
Kendo UI SpeechToTextButton component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class SpeechToTextButton : WidgetBase, IHtmlAttributesContainer
Inheritance: objectWidgetBaseSpeechToTextButton
Implements:
Inherited Members
Constructors
Initializes a new instance of the SpeechToTextButton class.
Properties
Controls whether continuous results are returned for each recognition, or only a single result once recognition stops.
public bool? Continuous { get; set; }
Indicates whether the button must be enabled or disabled. By default, it is enabled, unless a disabled="disabled" attribute is detected.
public bool? Enable { get; set; }
Sets a value controlling how the color is applied.
public ButtonFillMode? FillMode { get; set; }
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 SpeechToTextButtonIconSettings IconSettings { get; }
Specifies which speech recognition engine or integration the component should use.
public IntegrationMode? IntegrationMode { get; set; }
Controls whether interim results should be returned (true) or not (false). Interim results are results that are not yet final.
public bool? InterimResults { get; set; }
Specifies a BCP 47 language tag (e.g., 'en-US', 'fr-FR') used for speech recognition.
public string Lang { get; set; }
Represents the maximum number of alternative transcriptions to return for each result.
public double? MaxAlternatives { get; set; }
Allows customization of the messages displayed by the widget.
public SpeechToTextButtonMessagesSettings Messages { get; }
Sets the size of the component.
public ComponentSize? Size { get; set; }
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 SpeechToTextButtonStopIconSettings StopIconSettings { get; }
Sets the color of the component according to the applied theme.
public ThemeColor? ThemeColor { get; set; }
Methods
Serialize the current instance to Dictionary
public override IDictionary<string, object> Serialize()
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML.
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: