Represents the WebForms SpeechToTextButton control, which provides a button for speech recognition functionality.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[RequiredScript(typeof(jQueryPlugins), 1)]
[RequiredScript(typeof(Html5SpeechToTextButton), 2)]
[ClientScriptResource("Telerik.Web.UI.RadSpeechToTextButton", "Telerik.Web.UI.SpeechToTextButton.Scripts.RadSpeechToTextButton.kendo.js", LoadOrder = 3)]
[ClientScriptResource("Telerik.Web.UI.RadSpeechToTextButton", "Telerik.Web.UI.SpeechToTextButton.Scripts.RadSpeechToTextButton.js", LoadOrder = 4)]
[ToolboxBitmap(typeof(RadSpeechToTextButton), "Toolbox.Icons.SpeechToText.png")]
[EmbeddedSkin("SpeechToTextButton", typeof(RadSpeechToTextButton))]
[EmbeddedSkin("SpeechToTextButton", "Default", typeof(RadSpeechToTextButton))]
public class RadSpeechToTextButton : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlRadSpeechToTextButton
Implements:
Inherited Members
Constructors
public RadSpeechToTextButton()
Properties
Defines the client events handlers.
[PersistenceMode(PersistenceMode.InnerProperty)]
public SpeechToTextButtonClientEvents ClientEvents { get; }
Controls whether continuous results are returned for each recognition, or only a single result once recognition stops.
public bool Continuous { get; set; }
The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()
protected override string CssClassFormatString { get; }
Overrides:
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; }
Specifies how themeColor is applied to a badge. Valid options are solid (default) and outline.
public SpeechToTextButtonFillMode FillMode { get; set; }
The name of the Kendo UI font icon to be displayed in the button when it is not active (not listening).
public string Icon { get; set; }
Specifies which speech recognition engine or integration the component should use. - webSpeech - Utilizes the browser's native Web Speech API. - none - Disables the built-in speech recognition. Use this when integrating with a custom or third-party speech recognition service.
public SpeechToTextButtonIntegrationMode 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 Language { 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.
[PersistenceMode(PersistenceMode.InnerProperty)]
public Messages Messages { get; }
Specifies how round is the button. Valid options are small, medium, large and full.
public SpeechToTextButtonRounded Rounded { get; set; }
Specifies the size of the badge. Valid options are small, medium and large.
public SpeechToTextButtonSize Size { get; set; }
The name of the Kendo UI font icon to be displayed in the button when it is active (listening).
public string StopIcon { get; set; }
protected override bool SupportsRenderingMode { get; }
Overrides:
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Specifies the theme color of the component.
public SpeechToTextButtonThemeColor ThemeColor { get; set; }
Methods
protected override void DescribeClientEvents(IScriptDescriptor descriptor)
Overrides:
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
protected override void TrackViewState()
Overrides: