Files
ladybird/Libraries/LibWeb/Speech/SpeechRecognition.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

28 lines
846 B
Plaintext

// https://wicg.github.io/speech-api/#speechrecognition
[Exposed=Window]
interface SpeechRecognition : EventTarget {
constructor();
attribute SpeechGrammarList grammars;
attribute DOMString lang;
attribute boolean continuous;
attribute boolean interimResults;
attribute unsigned long maxAlternatives;
[FIXME] undefined start();
[FIXME] undefined stop();
[FIXME] undefined abort();
attribute EventHandler onaudiostart;
attribute EventHandler onsoundstart;
attribute EventHandler onspeechstart;
attribute EventHandler onspeechend;
attribute EventHandler onsoundend;
attribute EventHandler onaudioend;
attribute EventHandler onresult;
attribute EventHandler onnomatch;
attribute EventHandler onerror;
attribute EventHandler onstart;
attribute EventHandler onend;
};