You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The object representing a speech grammar. This interface has been deprecated and exists in this spec for the sole purpose of maintaining backwards compatibility.
276
+
[Exposed=Window]
277
+
interface SpeechGrammar {
278
+
attribute DOMString src;
279
+
attribute float weight;
280
+
};
281
+
282
+
// The object representing a speech grammar collection. This interface has been deprecated and exists in this spec for the sole purpose of maintaining backwards compatibility.
283
+
[Exposed=Window]
284
+
interface SpeechGrammarList {
285
+
constructor();
286
+
readonly attribute unsigned long length;
287
+
getter SpeechGrammar item(unsigned long index);
288
+
undefined addFromURI(DOMString src,
289
+
optional float weight = 1.0);
290
+
undefined addFromString(DOMString string,
291
+
optional float weight = 1.0);
292
+
};
293
+
274
294
// The object representing a phrase for contextual biasing.
<p>The SpeechGrammar object represents a container for a grammar.</p>
786
+
<p class=note>Grammar support has been deprecated and removed. The grammar objects remain in the spec for backwards compatibility purposes only and do not affect speech recognition.</p>
787
+
<p>This structure has the following attributes:</p>
<p>The SpeechGrammarList object represents a collection of SpeechGrammar objects.
802
+
This structure has the following attributes:</p>
803
+
<p class=note>Grammar support has been deprecated and removed. The grammar objects remain in the spec for backwards compatibility purposes only and do not affect speech recognition.</p>
0 commit comments