SpeechRecognition.onend

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The onend property of the SpeechRecognition interface represents an event handler that will run when the speech recognition service has disconnected (when the end event fires.)

Syntax

mySpeechRecognition.onend = function() { ... };

Examples

var recognition = new SpeechRecognition();

recognition.onend = function() {
  console.log('Speech recognition service disconnected');
}

Specifications

Specification
Web Speech API
# dom-speechrecognition-onend

Browser compatibility

BCD tables only load in the browser

See also