Added interimResults attribute and definition.
authorGlen Shires <gshires@google.com>
Fri, 07 Sep 2012 00:55:18 -0700
changeset 26 d25fea0d029c
parent 25 7b70520efdb8
child 27 e67e08e439ce
Added interimResults attribute and definition.
speechapi.html
--- a/speechapi.html	Fri Sep 07 00:44:15 2012 -0700
+++ b/speechapi.html	Fri Sep 07 00:55:18 2012 -0700
@@ -534,6 +534,7 @@
         attribute <a href="#dfn-speechgrammarlist">SpeechGrammarList</a> <a href="#dfn-grammars">grammars</a>;
         attribute DOMString <a href="#dfn-lang">lang</a>;
         attribute boolean <a href="#dfn-continuous">continuous</a>;
+        attribute boolean <a href="#dfn-interimresults">interimResults</a>;
         attribute unsigned long <a href="#dfn-maxalternatives">maxAlternatives</a>;
         attribute DOMString <a href="#dfn-serviceuri">serviceURI</a>;
 
@@ -639,6 +640,12 @@
       for example a dictation.
       The default value <em class="rfc2119" title="must">must</em> be false.  Note, this attribute setting does not affect interim results.</dd>
 
+      <dt><dfn id="dfn-interimresults">interimResults</dfn> attribute</dt>
+      <dd>Controls whether interim results are returned.
+      When set to true, interim results <em class="rfc2119" title="should">should</em> be returned.
+      When set to false, interim results <em class="rfc2119" title="must">must</em> NOT be returned.
+      The default value <em class="rfc2119" title="must">must</em> be false. Note, this attribute setting does not affect final results.</dd>
+
       <dt><dfn id="dfn-maxalternatives">maxAlternatives</dfn> attribute</dt>
       <dd>This attribute will set the maximum number of <a href="#speechreco-alternative">SpeechRecognitionAlternative</a>s per result.
       The default value is 1.</dd>