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.

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.

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.

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.

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.