Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. SpeechRecognition
  4. continuous

SpeechRecognition: continuous property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Thecontinuous property of theSpeechRecognition interface controls whether continuous results arereturned for each recognition, or only a single result.

It defaults to single results (false.)

Value

A boolean value representing the currentSpeechRecognition'scontinuous status.true means continuous, andfalse means notcontinuous (single result each time.)

Examples

This code is excerpted from ourSpeech color changer example.

js
const recognition = new SpeechRecognition();recognition.continuous = false;recognition.lang = "en-US";recognition.interimResults = false;recognition.maxAlternatives = 1;// …

Specifications

Specification
Web Speech API
# dom-speechrecognition-continuous

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp