SpeechToTextBuilder.OnResult(RazorBlock) Method
A function that is executed when the Web Speech API returns a result. Mirrors the client-side onResult option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public SpeechToTextBuilder OnResult(
RazorBlock jsFunc
)
Parameters
| Name | Type | Description |
|---|---|---|
| jsFunc | RazorBlock | The Razor |
Returns
| Type | Description |
|---|---|
| SpeechToTextBuilder | A reference to this instance after the method is called. |
See Also