Vue SpeechToText Types

ContentReadyEvent

The argument type in the contentReady event.

import { DxSpeechToTextTypes } from "devextreme-vue/speech-to-text"
Type: DxSpeechToTextTypes.ContentReadyEvent

CustomSpeechRecognizer

Allows you to implement custom speech recognition engines.

import { DxSpeechToTextTypes } from "devextreme-vue/speech-to-text"
Type: DxSpeechToTextTypes.CustomSpeechRecognizer

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 { DxSpeechToTextTypes } from "devextreme-vue/speech-to-text"
Type: DxSpeechToTextTypes.DisposingEvent

EndEvent

The argument type in the end event.

import { DxSpeechToTextTypes } from "devextreme-vue/speech-to-text"
Type: DxSpeechToTextTypes.EndEvent

ErrorEvent

The argument type in the error event.

import { DxSpeechToTextTypes } from "devextreme-vue/speech-to-text"
Type: DxSpeechToTextTypes.ErrorEvent

InitializedEvent

The argument type in the initialized event.

import { DxSpeechToTextTypes } from "devextreme-vue/speech-to-text"
Type: DxSpeechToTextTypes.InitializedEvent

OptionChangedEvent

The argument type in the optionChanged event.

import { DxSpeechToTextTypes } from "devextreme-vue/speech-to-text"
Type: DxSpeechToTextTypes.OptionChangedEvent

ResultEvent

The argument type in the result event.

import { DxSpeechToTextTypes } from "devextreme-vue/speech-to-text"
Type: DxSpeechToTextTypes.ResultEvent

SpeechRecognitionConfig

Configures the Web Speech API (SpeechRecognition properties).

import { DxSpeechToTextTypes } from "devextreme-vue/speech-to-text"
Type: DxSpeechToTextTypes.SpeechRecognitionConfig

This configuration object allows you to customize SpeechToText functionality.

View Demo

StartClickEvent

The argument type in the startClick event.

import { DxSpeechToTextTypes } from "devextreme-vue/speech-to-text"
Type: DxSpeechToTextTypes.StartClickEvent

StopClickEvent

The argument type in the stopClick event.

import { DxSpeechToTextTypes } from "devextreme-vue/speech-to-text"
Type: DxSpeechToTextTypes.StopClickEvent