All docs
V25.2
25.2
25.1
The page you are viewing does not exist in version 25.1.
24.2
The page you are viewing does not exist in version 24.2.
24.1
The page you are viewing does not exist in version 24.1.
23.2
The page you are viewing does not exist in version 23.2.
23.1
The page you are viewing does not exist in version 23.1.
22.2
The page you are viewing does not exist in version 22.2.
22.1
The page you are viewing does not exist in version 22.1.
21.2
The page you are viewing does not exist in version 21.2.
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
The page you are viewing does not exist in version 19.2.
19.1
The page you are viewing does not exist in version 19.1.
18.2
The page you are viewing does not exist in version 18.2.
18.1
The page you are viewing does not exist in version 18.1.
17.2
The page you are viewing does not exist in version 17.2.

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