UNPKG

simple-speech-recognition

Version:

A simple wrapper for Speech Recognition APIs in the browser

13 lines (10 loc) 221 B
export default class DummySpeechRecognition { constructor () { this.lang = '' this.interimResults = false this.onerror = () => {} this.onresult = () => {} } start () {} abort () {} }