# 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](https://docs.telerik.com/kendo-ui/api/ui/speechtotextbutton/events/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://docs.telerik.com/kendo-ui/api/ui/speechtotextbutton/events/start) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [SpeechToTextButtonEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://docs.telerik.com/kendo-ui/api/ui/speechtotextbutton/events/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://docs.telerik.com/kendo-ui/api/ui/speechtotextbutton/events/end) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [SpeechToTextButtonEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://docs.telerik.com/kendo-ui/api/ui/speechtotextbutton/events/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://docs.telerik.com/kendo-ui/api/ui/speechtotextbutton/events/result) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [SpeechToTextButtonEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://docs.telerik.com/kendo-ui/api/ui/speechtotextbutton/events/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://docs.telerik.com/kendo-ui/api/ui/speechtotextbutton/events/error) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [SpeechToTextButtonEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://docs.telerik.com/kendo-ui/api/ui/speechtotextbutton/events/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://docs.telerik.com/kendo-ui/api/ui/speechtotextbutton/events/click) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [SpeechToTextButtonEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://docs.telerik.com/kendo-ui/api/ui/speechtotextbutton/events/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://docs.telerik.com/kendo-ui/api/ui/speechtotextbutton/events/kendokeydown) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [SpeechToTextButtonEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/speechtotextbuttoneventbuilder) .
