Defines the fluent API for configuring SpeechToTextButtonMessagesSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SpeechToTextButtonMessagesSettingsBuilder
Inheritance: objectSpeechToTextButtonMessagesSettingsBuilder
Inherited Members
Constructors
Initializes a new instance of the SpeechToTextButtonMessagesSettingsBuilder class.
public SpeechToTextButtonMessagesSettingsBuilder(SpeechToTextButtonMessagesSettings container)
Properties
The SpeechToTextButtonMessagesSettings settings.
protected SpeechToTextButtonMessagesSettings Container { get; }
Methods
The message for when the speech recognition engine is not initialized.
public SpeechToTextButtonMessagesSettingsBuilder NotInitialized(string value)
The value for NotInitialized
Returns:SpeechToTextButtonMessagesSettingsBuilder
Returns the current SpeechToTextButtonMessagesSettingsBuilder instance.
The aria-label for the button when it is not active (not listening).
public SpeechToTextButtonMessagesSettingsBuilder Start(string value)
The value for Start
Returns:SpeechToTextButtonMessagesSettingsBuilder
Returns the current SpeechToTextButtonMessagesSettingsBuilder instance.
The aria-label for the button when it is active (listening).
public SpeechToTextButtonMessagesSettingsBuilder Stop(string value)
The value for Stop
Returns:SpeechToTextButtonMessagesSettingsBuilder
Returns the current SpeechToTextButtonMessagesSettingsBuilder instance.
The message shown when speech recognition is not supported by the browser.
public SpeechToTextButtonMessagesSettingsBuilder Unsupported(string value)
The value for Unsupported
Returns:SpeechToTextButtonMessagesSettingsBuilder
Returns the current SpeechToTextButtonMessagesSettingsBuilder instance.