SpeechToTextButtonEventBuilder

Methods

Start(System.String)

Defines the handler of the Start client-side event. Fires when the speech recognition service has begun listening to incoming audio.

For more information see Start event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Start event.

RETURNS

Returns the current instance of SpeechToTextButtonEventBuilder .

Start(System.Func)

Defines the handler of the Start client-side event. Fires when the speech recognition service has begun listening to incoming audio.

For more information see Start event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of SpeechToTextButtonEventBuilder .

End(System.String)

Defines the handler of the End client-side event. Fires when the speech recognition service has disconnected.

For more information see End event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the End event.

RETURNS

Returns the current instance of SpeechToTextButtonEventBuilder .

End(System.Func)

Defines the handler of the End client-side event. Fires when the speech recognition service has disconnected.

For more information see End event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of SpeechToTextButtonEventBuilder .

Result(System.String)

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.

For more information see Result event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Result event.

RETURNS

Returns the current instance of SpeechToTextButtonEventBuilder .

Result(System.Func)

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.

For more information see Result event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of SpeechToTextButtonEventBuilder .

Error(System.String)

Defines the handler of the Error client-side event. Fires when a speech recognition error occurs.

For more information see Error event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Error event.

RETURNS

Returns the current instance of SpeechToTextButtonEventBuilder .

Error(System.Func)

Defines the handler of the Error client-side event. Fires when a speech recognition error occurs.

For more information see Error event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of SpeechToTextButtonEventBuilder .

Click(System.String)

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.

For more information see Click event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Click event.

RETURNS

Returns the current instance of SpeechToTextButtonEventBuilder .

Click(System.Func)

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.

For more information see Click event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of SpeechToTextButtonEventBuilder .

KendoKeydown(System.String)

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.

For more information see KendoKeydown event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the KendoKeydown event.

RETURNS

Returns the current instance of SpeechToTextButtonEventBuilder .

KendoKeydown(System.Func)

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.

For more information see KendoKeydown event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of SpeechToTextButtonEventBuilder .