Defines the fluent API for configuring the Kendo UI SpeechToTextButton for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SpeechToTextButtonEventBuilder : EventBuilder
Inheritance: objectEventBuilderSpeechToTextButtonEventBuilder
Inherited Members
Constructors
Initializes a new instance of the SpeechToTextButtonEventBuilder class.
public SpeechToTextButtonEventBuilder(IDictionary<string, object> events)
The SpeechToTextButton event handlers.
Methods
Defines the handler of the Click client-side event. Fires when the Button is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the Button is focused.
public SpeechToTextButtonEventBuilder Click(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:SpeechToTextButtonEventBuilder
Returns the current instance of SpeechToTextButtonEventBuilder .
Defines the handler of the Click client-side event. Fires when the Button is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the Button is focused.
public SpeechToTextButtonEventBuilder Click(string handler)
The name of the JavaScript function that will handle the Click event.
Returns:SpeechToTextButtonEventBuilder
Returns the current instance of SpeechToTextButtonEventBuilder .
Defines the handler of the End client-side event. Fires when the speech recognition service has disconnected.
public SpeechToTextButtonEventBuilder End(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:SpeechToTextButtonEventBuilder
Returns the current instance of SpeechToTextButtonEventBuilder .
Defines the handler of the End client-side event. Fires when the speech recognition service has disconnected.
public SpeechToTextButtonEventBuilder End(string handler)
The name of the JavaScript function that will handle the End event.
Returns:SpeechToTextButtonEventBuilder
Returns the current instance of SpeechToTextButtonEventBuilder .
Defines the handler of the Error client-side event. Fires when a speech recognition error occurs.
public SpeechToTextButtonEventBuilder Error(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:SpeechToTextButtonEventBuilder
Returns the current instance of SpeechToTextButtonEventBuilder .
Defines the handler of the Error client-side event. Fires when a speech recognition error occurs.
public SpeechToTextButtonEventBuilder Error(string handler)
The name of the JavaScript function that will handle the Error event.
Returns:SpeechToTextButtonEventBuilder
Returns the current instance of SpeechToTextButtonEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Button is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public SpeechToTextButtonEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:SpeechToTextButtonEventBuilder
Returns the current instance of SpeechToTextButtonEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Button is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public SpeechToTextButtonEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:SpeechToTextButtonEventBuilder
Returns the current instance of SpeechToTextButtonEventBuilder .
Defines the handler of the Result client-side event. Fires when the speech recognition service returns a result - a word or phrase has been positively recognized.
public SpeechToTextButtonEventBuilder Result(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:SpeechToTextButtonEventBuilder
Returns the current instance of SpeechToTextButtonEventBuilder .
Defines the handler of the Result client-side event. Fires when the speech recognition service returns a result - a word or phrase has been positively recognized.
public SpeechToTextButtonEventBuilder Result(string handler)
The name of the JavaScript function that will handle the Result event.
Returns:SpeechToTextButtonEventBuilder
Returns the current instance of SpeechToTextButtonEventBuilder .
Defines the handler of the Start client-side event. Fires when the speech recognition service has begun listening to incoming audio.
public SpeechToTextButtonEventBuilder Start(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:SpeechToTextButtonEventBuilder
Returns the current instance of SpeechToTextButtonEventBuilder .
Defines the handler of the Start client-side event. Fires when the speech recognition service has begun listening to incoming audio.
public SpeechToTextButtonEventBuilder Start(string handler)
The name of the JavaScript function that will handle the Start event.
Returns:SpeechToTextButtonEventBuilder
Returns the current instance of SpeechToTextButtonEventBuilder .