JavaScript/jQuery SpeechToText Types

ContentReadyEvent

The argument type in the contentReady event.

import { ContentReadyEvent } from "devextreme/ui/speech_to_text"
Type:

Object

CustomSpeechRecognizer

Allows you to implement custom speech recognition engines.

import { CustomSpeechRecognizer } from "devextreme/ui/speech_to_text"
Type:

Object

If you want to integrate a custom speech recognition engine, set customSpeechRecognizer.enabled to true. When you implement a custom speech recognizer, SpeechToText no longer does the following:

  • Listen to user speech.
  • Update the component state. Set SpeechToText state manually using the customSpeechRecognizer.isListening property.
  • Call the onResult and onError handlers.

DisposingEvent

The argument type in the disposing event.

import { DisposingEvent } from "devextreme/ui/speech_to_text"
Type:

Object

EndEvent

The argument type in the end event.

import { EndEvent } from "devextreme/ui/speech_to_text"
Type:

Object

ErrorEvent

The argument type in the error event.

import { ErrorEvent } from "devextreme/ui/speech_to_text"
Type:

Object

InitializedEvent

The argument type in the initialized event.

import { InitializedEvent } from "devextreme/ui/speech_to_text"
Type:

Object

OptionChangedEvent

The argument type in the optionChanged event.

import { OptionChangedEvent } from "devextreme/ui/speech_to_text"
Type:

Object

ResultEvent

The argument type in the result event.

import { ResultEvent } from "devextreme/ui/speech_to_text"
Type:

Object

SpeechRecognitionConfig

Configures the Web Speech API (SpeechRecognition properties).

import { SpeechRecognitionConfig } from "devextreme/ui/speech_to_text"
Type:

Object

This configuration object allows you to customize SpeechToText functionality.

View Demo

StartClickEvent

The argument type in the startClick event.

import { StartClickEvent } from "devextreme/ui/speech_to_text"
Type:

Object

StopClickEvent

The argument type in the stopClick event.

import { StopClickEvent } from "devextreme/ui/speech_to_text"
Type:

Object