SpeechToTextBuilder.OnError(String) Method
A function that is executed when the Web Speech API encounters an error. Mirrors the client-side onError option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public SpeechToTextBuilder OnError(
string jsFunc
)
Parameters
| Name | Type | Description |
|---|---|---|
| jsFunc | String | An inline or external JavaScript function. |
Returns
| Type | Description |
|---|---|
| SpeechToTextBuilder | A reference to this instance after the method is called. |
See Also