<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd">
<Definitions>
+<Module name="MediaServer" id="::MediaServer">
+ <webidl> module MediaServer {
+ [NoInterfaceObject] interface MediaServerManagerObject {
+ readonly attribute <ref>MediaServerManager</ref> mediaserver;
+};
+
+<ref>Tizen</ref> implements <ref>MediaServerManagerObject</ref>;
+
+[NoInterfaceObject] interface MediaServerManager {
+ void scanNetwork(<ref>MediaServerFoundServerCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
+};
+
+[NoInterfaceObject] interface MediaServer {
+ readonly attribute DOMString id;
+ readonly attribute DOMString friendlyName;
+ readonly attribute object root;
+
+ void browse(DOMString containerId, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
+ void find(DOMString containerId, DOMString searchFilter, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
+};
+
+[NoInterfaceObject] interface MediaServerError {
+ const unsigned short GENERIC = 1;
+ attribute unsigned short code;
+ attribute DOMString message;
+};
+
+[Callback=FunctionOnly, NoInterfaceObject] interface MediaServerFoundServerCallback {
+ void onsuccess(<ref>MediaServer</ref> value);
+};
+
+[Callback=FunctionOnly, NoInterfaceObject] interface MediaServerBrowseFindCallback {
+ void onsuccess(sequence< object > value);
+};
+
+[Callback=FunctionOnly, NoInterfaceObject] interface MediaServerErrorCallback {
+ void onfailure(<ref>MediaServerError</ref> error);
+};</webidl>
+ <Interface name="MediaServerManagerObject" id="::MediaServerManagerObject">
+ <webidl>[NoInterfaceObject] interface MediaServerManagerObject {
+ readonly attribute <ref>MediaServerManager</ref> mediaserver;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="mediaserver" id="::MediaServerManagerObject::mediaserver">
+ <webidl> readonly attribute <ref>MediaServerManager</ref> mediaserver;</webidl>
+ <Type name="MediaServerManager"/>
+ </Attribute>
+ </Interface>
+ <Implements name1="Tizen" name2="MediaServerManagerObject">
+ <webidl><ref>Tizen</ref> implements <ref>MediaServerManagerObject</ref>;</webidl>
+ </Implements>
+ <Interface name="MediaServerManager" id="::MediaServerManager">
+ <webidl>[NoInterfaceObject] interface MediaServerManager {
+ void scanNetwork(<ref>MediaServerFoundServerCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="scanNetwork" id="::MediaServerManager::scanNetwork">
+ <webidl> void scanNetwork(<ref>MediaServerFoundServerCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="successCallback">
+ <Type name="MediaServerFoundServerCallback"/>
+ </Argument>
+ <Argument optional="optional" name="errorCallback">
+ <Type name="MediaServerErrorCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="MediaServer" id="::MediaServer">
+ <webidl>[NoInterfaceObject] interface MediaServer {
+ readonly attribute DOMString id;
+ readonly attribute DOMString friendlyName;
+ readonly attribute object root;
+
+ void browse(DOMString containerId, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
+ void find(DOMString containerId, DOMString searchFilter, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="id" id="::MediaServer::id">
+ <webidl> readonly attribute DOMString id;</webidl>
+ <Type type="DOMString"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="friendlyName" id="::MediaServer::friendlyName">
+ <webidl> readonly attribute DOMString friendlyName;</webidl>
+ <Type type="DOMString"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="root" id="::MediaServer::root">
+ <webidl> readonly attribute object root;</webidl>
+ <Type type="object"/>
+ </Attribute>
+ <Operation name="browse" id="::MediaServer::browse">
+ <webidl> void browse(DOMString containerId, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="containerId">
+ <Type type="DOMString"/>
+ </Argument>
+ <Argument name="sortMode">
+ <Type type="DOMString"/>
+ </Argument>
+ <Argument name="count">
+ <Type type="unsigned long"/>
+ </Argument>
+ <Argument name="offset">
+ <Type type="unsigned long"/>
+ </Argument>
+ <Argument name="successCallback">
+ <Type name="MediaServerBrowseFindCallback"/>
+ </Argument>
+ <Argument optional="optional" name="errorCallback">
+ <Type name="MediaServerErrorCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="find" id="::MediaServer::find">
+ <webidl> void find(DOMString containerId, DOMString searchFilter, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="containerId">
+ <Type type="DOMString"/>
+ </Argument>
+ <Argument name="searchFilter">
+ <Type type="DOMString"/>
+ </Argument>
+ <Argument name="sortMode">
+ <Type type="DOMString"/>
+ </Argument>
+ <Argument name="count">
+ <Type type="unsigned long"/>
+ </Argument>
+ <Argument name="offset">
+ <Type type="unsigned long"/>
+ </Argument>
+ <Argument name="successCallback">
+ <Type name="MediaServerBrowseFindCallback"/>
+ </Argument>
+ <Argument optional="optional" name="errorCallback">
+ <Type name="MediaServerErrorCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="MediaServerError" id="::MediaServerError">
+ <webidl>[NoInterfaceObject] interface MediaServerError {
+ const unsigned short GENERIC = 1;
+ attribute unsigned short code;
+ attribute DOMString message;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Const name="GENERIC" value="1" id="::MediaServerError::GENERIC">
+ <webidl> const unsigned short GENERIC = 1;</webidl>
+ <Type type="unsigned short"/>
+ </Const>
+ <Attribute name="code" id="::MediaServerError::code">
+ <webidl> attribute unsigned short code;</webidl>
+ <Type type="unsigned short"/>
+ </Attribute>
+ <Attribute name="message" id="::MediaServerError::message">
+ <webidl> attribute DOMString message;</webidl>
+ <Type type="DOMString"/>
+ </Attribute>
+ </Interface>
+ <Interface name="MediaServerFoundServerCallback" id="::MediaServerFoundServerCallback">
+ <webidl>[Callback=FunctionOnly, NoInterfaceObject] interface MediaServerFoundServerCallback {
+ void onsuccess(<ref>MediaServer</ref> value);
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="Callback" value="FunctionOnly">
+ <webidl>Callback</webidl>
+ </ExtendedAttribute>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl> NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="onsuccess" id="::MediaServerFoundServerCallback::onsuccess">
+ <webidl> void onsuccess(<ref>MediaServer</ref> value);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="value">
+ <Type name="MediaServer"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="MediaServerBrowseFindCallback" id="::MediaServerBrowseFindCallback">
+ <webidl>[Callback=FunctionOnly, NoInterfaceObject] interface MediaServerBrowseFindCallback {
+ void onsuccess(sequence< object > value);
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="Callback" value="FunctionOnly">
+ <webidl>Callback</webidl>
+ </ExtendedAttribute>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl> NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="onsuccess" id="::MediaServerBrowseFindCallback::onsuccess">
+ <webidl> void onsuccess(sequence< object > value);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="value">
+ <Type type="sequence">
+ <Type type="object"/>
+ </Type>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="MediaServerErrorCallback" id="::MediaServerErrorCallback">
+ <webidl>[Callback=FunctionOnly, NoInterfaceObject] interface MediaServerErrorCallback {
+ void onfailure(<ref>MediaServerError</ref> error);
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="Callback" value="FunctionOnly">
+ <webidl>Callback</webidl>
+ </ExtendedAttribute>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl> NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="onfailure" id="::MediaServerErrorCallback::onfailure">
+ <webidl> void onfailure(<ref>MediaServerError</ref> error);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="error">
+ <Type name="MediaServerError"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+</Module>
+<Module name="Locale" id="::Locale">
+ <webidl> module Locale {
+ [NoInterfaceObject]
+interface LocaleManagerObject {
+ readonly attribute <ref>Locale</ref> locale;
+};
+
+<ref>Tizen</ref> implements <ref>LocaleManagerObject</ref>;
+
+callback LocaleChangedCallback = void (DOMString newLocale);
+
+
+[NoInterfaceObject]
+interface Locale {
+
+ void getLocale();
+
+ void setLocale(DOMString newLocale);
+
+ void localeChanged(<ref>LocaleChangedCallback</ref> cb);
+
+};</webidl>
+ <Interface name="LocaleManagerObject" id="::LocaleManagerObject">
+ <webidl>[NoInterfaceObject]
+interface LocaleManagerObject {
+ readonly attribute <ref>Locale</ref> locale;
+};</webidl>
+ <descriptive>
+ <description>
+ <p>
+Details.
+ </p>
+ <p>
+def-api-feature http://tizen.org/api/vehicle
+brief Allows access to the vehicle API
+ </p>
+ </description>
+ </descriptive>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="locale" id="::LocaleManagerObject::locale">
+ <webidl> readonly attribute <ref>Locale</ref> locale;</webidl>
+ <Type name="Locale"/>
+ </Attribute>
+ </Interface>
+ <Implements name1="Tizen" name2="LocaleManagerObject">
+ <webidl><ref>Tizen</ref> implements <ref>LocaleManagerObject</ref>;</webidl>
+ </Implements>
+ <Callback name="LocaleChangedCallback" id="::LocaleChangedCallback">
+ <webidl>callback LocaleChangedCallback = void (DOMString newLocale);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="newLocale">
+ <Type type="DOMString"/>
+ </Argument>
+ </ArgumentList>
+ </Callback>
+ <Interface name="Locale" id="::Locale">
+ <webidl>[NoInterfaceObject]
+interface Locale {
+
+ void getLocale();
+
+ void setLocale(DOMString newLocale);
+
+ void localeChanged(<ref>LocaleChangedCallback</ref> cb);
+
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="getLocale" id="::Locale::getLocale">
+ <webidl> void getLocale();</webidl>
+ <descriptive>
+ <description>
+ <p>
+brief gets the current locale
+returns current locale in ISO 639-2 format (ie en_US for english US)
+ </p>
+ </description>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList/>
+ </Operation>
+ <Operation name="setLocale" id="::Locale::setLocale">
+ <webidl> void setLocale(DOMString newLocale);</webidl>
+ <descriptive>
+ <description>
+ <p>
+brief sets the system locale
+param newLocale locale to set in ISO 639-2 format
+ </p>
+ </description>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="newLocale">
+ <Type type="DOMString"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="localeChanged" id="::Locale::localeChanged">
+ <webidl> void localeChanged(<ref>LocaleChangedCallback</ref> cb);</webidl>
+ <descriptive>
+ <description>
+ <p>
+brief subscribe to locale changes.
+param cb callback to be called when this even occurs.
+ </p>
+ </description>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="cb">
+ <Type name="LocaleChangedCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+</Module>
<Module name="Vehicle" id="::Vehicle">
<webidl> module Vehicle {
[NoInterfaceObject]
</Interface>
</Module>
<Module name="Speech" id="::Speech">
- <webidl> module Speech {
-[Constructor]
-interface SpeechRecognition : <ref>EventTarget</ref> {
- attribute <ref>SpeechGrammarList</ref> grammars;
- attribute DOMString lang;
- attribute boolean continuous;
- attribute boolean interimResults;
- attribute unsigned long maxAlternatives;
- attribute DOMString serviceURI;
-
- void start();
- void stop();
- void abort();
-
- attribute <ref>EventHandler</ref> onaudiostart;
- attribute <ref>EventHandler</ref> onsoundstart;
- attribute <ref>EventHandler</ref> onspeechstart;
- attribute <ref>EventHandler</ref> onspeechend;
- attribute <ref>EventHandler</ref> onsoundend;
- attribute <ref>EventHandler</ref> onaudioend;
- attribute <ref>EventHandler</ref> onresult;
- attribute <ref>EventHandler</ref> onnomatch;
- attribute <ref>EventHandler</ref> onerror;
- attribute <ref>EventHandler</ref> onstart;
- attribute <ref>EventHandler</ref> onend;
-};
+ <webidl> module Speech {
+ [NoInterfaceObject]
+ interface SpeechManagerObject {
+ readonly attribute <ref>SpeechManager</ref> speech;
+ };
+ <ref>Tizen</ref> implements <ref>SpeechManagerObject</ref>;
-enum ErrorCode {
- "no-speech",
- "aborted",
- "audio-capture",
- "network",
- "not-allowed",
- "service-not-allowed",
- "bad-grammar",
- "language-not-supported"
-};
-interface SpeechRecognitionError : <ref>Event</ref> {
- readonly attribute <ref>ErrorCode</ref> error;
- readonly attribute DOMString message;
-};
+ [NoInterfaceObject]
+ interface SpeechManager {
+ void vocalizeString(DOMString speakString);
+ };
-interface SpeechRecognitionAlternative {
- readonly attribute DOMString transcript;
- readonly attribute float confidence;
-};
+ [Constructor]
+ interface SpeechRecognition : <ref>EventTarget</ref> {
+ attribute <ref>SpeechGrammarList</ref> grammars;
+ attribute DOMString lang;
+ attribute boolean continuous;
+ attribute boolean interimResults;
+ attribute unsigned long maxAlternatives;
+ attribute DOMString serviceURI;
+
+ void start();
+ void stop();
+ void abort();
+
+ attribute <ref>EventHandler</ref> onaudiostart;
+ attribute <ref>EventHandler</ref> onsoundstart;
+ attribute <ref>EventHandler</ref> onspeechstart;
+ attribute <ref>EventHandler</ref> onspeechend;
+ attribute <ref>EventHandler</ref> onsoundend;
+ attribute <ref>EventHandler</ref> onaudioend;
+ attribute <ref>EventHandler</ref> onresult;
+ attribute <ref>EventHandler</ref> onnomatch;
+ attribute <ref>EventHandler</ref> onerror;
+ attribute <ref>EventHandler</ref> onstart;
+ attribute <ref>EventHandler</ref> onend;
+ };
-interface SpeechRecognitionResult {
- readonly attribute unsigned long length;
- getter <ref>SpeechRecognitionAlternative</ref> item(unsigned long index);
- readonly attribute boolean final;
-};
+ enum ErrorCode {
+ "no-speech",
+ "aborted",
+ "audio-capture",
+ "network",
+ "not-allowed",
+ "service-not-allowed",
+ "bad-grammar",
+ "language-not-supported"
+ };
-interface SpeechRecognitionResultList {
- readonly attribute unsigned long length;
- getter <ref>SpeechRecognitionResult</ref> item(unsigned long index);
-};
+ interface SpeechRecognitionError : <ref>Event</ref> {
+ readonly attribute <ref>ErrorCode</ref> error;
+ readonly attribute DOMString message;
+ };
-interface SpeechRecognitionEvent : <ref>Event</ref> {
- readonly attribute unsigned long resultIndex;
- readonly attribute <ref>SpeechRecognitionResultList</ref> results;
- readonly attribute any interpretation;
- readonly attribute <ref>Document</ref> emma;
-};
+ interface SpeechRecognitionAlternative {
+ readonly attribute DOMString transcript;
+ readonly attribute float confidence;
+ };
-[Constructor]
-interface SpeechGrammar {
- attribute DOMString src;
- attribute float weight;
-};
+ interface SpeechRecognitionResult {
+ readonly attribute unsigned long length;
+ getter <ref>SpeechRecognitionAlternative</ref> item(unsigned long index);
+ readonly attribute boolean final;
+ };
-[Constructor]
-interface SpeechGrammarList {
- readonly attribute unsigned long length;
- getter <ref>SpeechGrammar</ref> item(unsigned long index);
- void addFromURI(DOMString src, optional float weight);
- void addFromString(DOMString string, optional float weight);
-};
+ interface SpeechRecognitionResultList {
+ readonly attribute unsigned long length;
+ getter <ref>SpeechRecognitionResult</ref> item(unsigned long index);
+ };
+
+ interface SpeechRecognitionEvent : <ref>Event</ref> {
+ readonly attribute unsigned long resultIndex;
+ readonly attribute <ref>SpeechRecognitionResultList</ref> results;
+ readonly attribute any interpretation;
+ readonly attribute <ref>Document</ref> emma;
+ };
+
+ [Constructor]
+ interface SpeechGrammar {
+ attribute DOMString src;
+ attribute float weight;
+ };
+
+ [Constructor]
+ interface SpeechGrammarList {
+ readonly attribute unsigned long length;
+ getter <ref>SpeechGrammar</ref> item(unsigned long index);
+ void addFromURI(DOMString src, optional float weight);
+ void addFromString(DOMString string, optional float weight);
+ };
};</webidl>
+ <Interface name="SpeechManagerObject" id="::SpeechManagerObject">
+ <webidl> [NoInterfaceObject]
+ interface SpeechManagerObject {
+ readonly attribute <ref>SpeechManager</ref> speech;
+ };</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="speech" id="::SpeechManagerObject::speech">
+ <webidl> readonly attribute <ref>SpeechManager</ref> speech;</webidl>
+ <Type name="SpeechManager"/>
+ </Attribute>
+ </Interface>
+ <Implements name1="Tizen" name2="SpeechManagerObject">
+ <webidl> <ref>Tizen</ref> implements <ref>SpeechManagerObject</ref>;</webidl>
+ </Implements>
+ <Interface name="SpeechManager" id="::SpeechManager">
+ <webidl> [NoInterfaceObject]
+ interface SpeechManager {
+ void vocalizeString(DOMString speakString);
+ };</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="vocalizeString" id="::SpeechManager::vocalizeString">
+ <webidl> void vocalizeString(DOMString speakString);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="speakString">
+ <Type type="DOMString"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
<Interface name="SpeechRecognition" id="::SpeechRecognition">
- <webidl>[Constructor]
-interface SpeechRecognition : <ref>EventTarget</ref> {
- attribute <ref>SpeechGrammarList</ref> grammars;
- attribute DOMString lang;
- attribute boolean continuous;
- attribute boolean interimResults;
- attribute unsigned long maxAlternatives;
- attribute DOMString serviceURI;
-
- void start();
- void stop();
- void abort();
-
- attribute <ref>EventHandler</ref> onaudiostart;
- attribute <ref>EventHandler</ref> onsoundstart;
- attribute <ref>EventHandler</ref> onspeechstart;
- attribute <ref>EventHandler</ref> onspeechend;
- attribute <ref>EventHandler</ref> onsoundend;
- attribute <ref>EventHandler</ref> onaudioend;
- attribute <ref>EventHandler</ref> onresult;
- attribute <ref>EventHandler</ref> onnomatch;
- attribute <ref>EventHandler</ref> onerror;
- attribute <ref>EventHandler</ref> onstart;
- attribute <ref>EventHandler</ref> onend;
-};</webidl>
+ <webidl> [Constructor]
+ interface SpeechRecognition : <ref>EventTarget</ref> {
+ attribute <ref>SpeechGrammarList</ref> grammars;
+ attribute DOMString lang;
+ attribute boolean continuous;
+ attribute boolean interimResults;
+ attribute unsigned long maxAlternatives;
+ attribute DOMString serviceURI;
+
+ void start();
+ void stop();
+ void abort();
+
+ attribute <ref>EventHandler</ref> onaudiostart;
+ attribute <ref>EventHandler</ref> onsoundstart;
+ attribute <ref>EventHandler</ref> onspeechstart;
+ attribute <ref>EventHandler</ref> onspeechend;
+ attribute <ref>EventHandler</ref> onsoundend;
+ attribute <ref>EventHandler</ref> onaudioend;
+ attribute <ref>EventHandler</ref> onresult;
+ attribute <ref>EventHandler</ref> onnomatch;
+ attribute <ref>EventHandler</ref> onerror;
+ attribute <ref>EventHandler</ref> onstart;
+ attribute <ref>EventHandler</ref> onend;
+ };</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="Constructor">
<webidl>Constructor</webidl>
<Name name="EventTarget"/>
</InterfaceInheritance>
<Attribute name="grammars" id="::SpeechRecognition::grammars">
- <webidl> attribute <ref>SpeechGrammarList</ref> grammars;</webidl>
+ <webidl> attribute <ref>SpeechGrammarList</ref> grammars;</webidl>
<Type name="SpeechGrammarList"/>
</Attribute>
<Attribute name="lang" id="::SpeechRecognition::lang">
- <webidl> attribute DOMString lang;</webidl>
+ <webidl> attribute DOMString lang;</webidl>
<Type type="DOMString"/>
</Attribute>
<Attribute name="continuous" id="::SpeechRecognition::continuous">
- <webidl> attribute boolean continuous;</webidl>
+ <webidl> attribute boolean continuous;</webidl>
<Type type="boolean"/>
</Attribute>
<Attribute name="interimResults" id="::SpeechRecognition::interimResults">
- <webidl> attribute boolean interimResults;</webidl>
+ <webidl> attribute boolean interimResults;</webidl>
<Type type="boolean"/>
</Attribute>
<Attribute name="maxAlternatives" id="::SpeechRecognition::maxAlternatives">
- <webidl> attribute unsigned long maxAlternatives;</webidl>
+ <webidl> attribute unsigned long maxAlternatives;</webidl>
<Type type="unsigned long"/>
</Attribute>
<Attribute name="serviceURI" id="::SpeechRecognition::serviceURI">
- <webidl> attribute DOMString serviceURI;</webidl>
+ <webidl> attribute DOMString serviceURI;</webidl>
<Type type="DOMString"/>
</Attribute>
<Operation name="start" id="::SpeechRecognition::start">
- <webidl> void start();</webidl>
+ <webidl> void start();</webidl>
<Type type="void"/>
<ArgumentList/>
</Operation>
<Operation name="stop" id="::SpeechRecognition::stop">
- <webidl> void stop();</webidl>
+ <webidl> void stop();</webidl>
<Type type="void"/>
<ArgumentList/>
</Operation>
<Operation name="abort" id="::SpeechRecognition::abort">
- <webidl> void abort();</webidl>
+ <webidl> void abort();</webidl>
<Type type="void"/>
<ArgumentList/>
</Operation>
<Attribute name="onaudiostart" id="::SpeechRecognition::onaudiostart">
- <webidl> attribute <ref>EventHandler</ref> onaudiostart;</webidl>
+ <webidl> attribute <ref>EventHandler</ref> onaudiostart;</webidl>
<Type name="EventHandler"/>
</Attribute>
<Attribute name="onsoundstart" id="::SpeechRecognition::onsoundstart">
- <webidl> attribute <ref>EventHandler</ref> onsoundstart;</webidl>
+ <webidl> attribute <ref>EventHandler</ref> onsoundstart;</webidl>
<Type name="EventHandler"/>
</Attribute>
<Attribute name="onspeechstart" id="::SpeechRecognition::onspeechstart">
- <webidl> attribute <ref>EventHandler</ref> onspeechstart;</webidl>
+ <webidl> attribute <ref>EventHandler</ref> onspeechstart;</webidl>
<Type name="EventHandler"/>
</Attribute>
<Attribute name="onspeechend" id="::SpeechRecognition::onspeechend">
- <webidl> attribute <ref>EventHandler</ref> onspeechend;</webidl>
+ <webidl> attribute <ref>EventHandler</ref> onspeechend;</webidl>
<Type name="EventHandler"/>
</Attribute>
<Attribute name="onsoundend" id="::SpeechRecognition::onsoundend">
- <webidl> attribute <ref>EventHandler</ref> onsoundend;</webidl>
+ <webidl> attribute <ref>EventHandler</ref> onsoundend;</webidl>
<Type name="EventHandler"/>
</Attribute>
<Attribute name="onaudioend" id="::SpeechRecognition::onaudioend">
- <webidl> attribute <ref>EventHandler</ref> onaudioend;</webidl>
+ <webidl> attribute <ref>EventHandler</ref> onaudioend;</webidl>
<Type name="EventHandler"/>
</Attribute>
<Attribute name="onresult" id="::SpeechRecognition::onresult">
- <webidl> attribute <ref>EventHandler</ref> onresult;</webidl>
+ <webidl> attribute <ref>EventHandler</ref> onresult;</webidl>
<Type name="EventHandler"/>
</Attribute>
<Attribute name="onnomatch" id="::SpeechRecognition::onnomatch">
- <webidl> attribute <ref>EventHandler</ref> onnomatch;</webidl>
+ <webidl> attribute <ref>EventHandler</ref> onnomatch;</webidl>
<Type name="EventHandler"/>
</Attribute>
<Attribute name="onerror" id="::SpeechRecognition::onerror">
- <webidl> attribute <ref>EventHandler</ref> onerror;</webidl>
+ <webidl> attribute <ref>EventHandler</ref> onerror;</webidl>
<Type name="EventHandler"/>
</Attribute>
<Attribute name="onstart" id="::SpeechRecognition::onstart">
- <webidl> attribute <ref>EventHandler</ref> onstart;</webidl>
+ <webidl> attribute <ref>EventHandler</ref> onstart;</webidl>
<Type name="EventHandler"/>
</Attribute>
<Attribute name="onend" id="::SpeechRecognition::onend">
- <webidl> attribute <ref>EventHandler</ref> onend;</webidl>
+ <webidl> attribute <ref>EventHandler</ref> onend;</webidl>
<Type name="EventHandler"/>
</Attribute>
</Interface>
<Enum name="ErrorCode" id="::ErrorCode">
- <webidl>enum ErrorCode {
- "no-speech",
- "aborted",
- "audio-capture",
- "network",
- "not-allowed",
- "service-not-allowed",
- "bad-grammar",
- "language-not-supported"
-};</webidl>
+ <webidl> enum ErrorCode {
+ "no-speech",
+ "aborted",
+ "audio-capture",
+ "network",
+ "not-allowed",
+ "service-not-allowed",
+ "bad-grammar",
+ "language-not-supported"
+ };</webidl>
<EnumValue stringvalue="no-speech">
- <webidl> "no-speech</webidl>
+ <webidl> "no-speech</webidl>
</EnumValue>
<EnumValue stringvalue="aborted">
- <webidl> "aborted</webidl>
+ <webidl> "aborted</webidl>
</EnumValue>
<EnumValue stringvalue="audio-capture">
- <webidl> "audio-capture</webidl>
+ <webidl> "audio-capture</webidl>
</EnumValue>
<EnumValue stringvalue="network">
- <webidl> "network</webidl>
+ <webidl> "network</webidl>
</EnumValue>
<EnumValue stringvalue="not-allowed">
- <webidl> "not-allowed</webidl>
+ <webidl> "not-allowed</webidl>
</EnumValue>
<EnumValue stringvalue="service-not-allowed">
- <webidl> "service-not-allowed</webidl>
+ <webidl> "service-not-allowed</webidl>
</EnumValue>
<EnumValue stringvalue="bad-grammar">
- <webidl> "bad-grammar</webidl>
+ <webidl> "bad-grammar</webidl>
</EnumValue>
<EnumValue stringvalue="language-not-supported">
- <webidl> "language-not-supported</webidl>
+ <webidl> "language-not-supported</webidl>
</EnumValue>
</Enum>
<Interface name="SpeechRecognitionError" id="::SpeechRecognitionError">
- <webidl>interface SpeechRecognitionError : <ref>Event</ref> {
- readonly attribute <ref>ErrorCode</ref> error;
- readonly attribute DOMString message;
-};</webidl>
+ <webidl> interface SpeechRecognitionError : <ref>Event</ref> {
+ readonly attribute <ref>ErrorCode</ref> error;
+ readonly attribute DOMString message;
+ };</webidl>
<InterfaceInheritance>
<Name name="Event"/>
</InterfaceInheritance>
<Attribute readonly="readonly" name="error" id="::SpeechRecognitionError::error">
- <webidl> readonly attribute <ref>ErrorCode</ref> error;</webidl>
+ <webidl> readonly attribute <ref>ErrorCode</ref> error;</webidl>
<Type name="ErrorCode"/>
</Attribute>
<Attribute readonly="readonly" name="message" id="::SpeechRecognitionError::message">
- <webidl> readonly attribute DOMString message;</webidl>
+ <webidl> readonly attribute DOMString message;</webidl>
<Type type="DOMString"/>
</Attribute>
</Interface>
<Interface name="SpeechRecognitionAlternative" id="::SpeechRecognitionAlternative">
- <webidl>interface SpeechRecognitionAlternative {
- readonly attribute DOMString transcript;
- readonly attribute float confidence;
-};</webidl>
+ <webidl> interface SpeechRecognitionAlternative {
+ readonly attribute DOMString transcript;
+ readonly attribute float confidence;
+ };</webidl>
<Attribute readonly="readonly" name="transcript" id="::SpeechRecognitionAlternative::transcript">
- <webidl> readonly attribute DOMString transcript;</webidl>
+ <webidl> readonly attribute DOMString transcript;</webidl>
<Type type="DOMString"/>
</Attribute>
<Attribute readonly="readonly" name="confidence" id="::SpeechRecognitionAlternative::confidence">
- <webidl> readonly attribute float confidence;</webidl>
+ <webidl> readonly attribute float confidence;</webidl>
<Type type="float"/>
</Attribute>
</Interface>
<Interface name="SpeechRecognitionResult" id="::SpeechRecognitionResult">
- <webidl>interface SpeechRecognitionResult {
- readonly attribute unsigned long length;
- getter <ref>SpeechRecognitionAlternative</ref> item(unsigned long index);
- readonly attribute boolean final;
-};</webidl>
+ <webidl> interface SpeechRecognitionResult {
+ readonly attribute unsigned long length;
+ getter <ref>SpeechRecognitionAlternative</ref> item(unsigned long index);
+ readonly attribute boolean final;
+ };</webidl>
<Attribute readonly="readonly" name="length" id="::SpeechRecognitionResult::length">
- <webidl> readonly attribute unsigned long length;</webidl>
+ <webidl> readonly attribute unsigned long length;</webidl>
<Type type="unsigned long"/>
</Attribute>
<Operation getter="getter" name="item" id="::SpeechRecognitionResult::item">
- <webidl> getter <ref>SpeechRecognitionAlternative</ref> item(unsigned long index);</webidl>
+ <webidl> getter <ref>SpeechRecognitionAlternative</ref> item(unsigned long index);</webidl>
<Type name="SpeechRecognitionAlternative"/>
<ArgumentList>
<Argument name="index">
</ArgumentList>
</Operation>
<Attribute readonly="readonly" name="final" id="::SpeechRecognitionResult::final">
- <webidl> readonly attribute boolean final;</webidl>
+ <webidl> readonly attribute boolean final;</webidl>
<Type type="boolean"/>
</Attribute>
</Interface>
<Interface name="SpeechRecognitionResultList" id="::SpeechRecognitionResultList">
- <webidl>interface SpeechRecognitionResultList {
- readonly attribute unsigned long length;
- getter <ref>SpeechRecognitionResult</ref> item(unsigned long index);
-};</webidl>
+ <webidl> interface SpeechRecognitionResultList {
+ readonly attribute unsigned long length;
+ getter <ref>SpeechRecognitionResult</ref> item(unsigned long index);
+ };</webidl>
<Attribute readonly="readonly" name="length" id="::SpeechRecognitionResultList::length">
- <webidl> readonly attribute unsigned long length;</webidl>
+ <webidl> readonly attribute unsigned long length;</webidl>
<Type type="unsigned long"/>
</Attribute>
<Operation getter="getter" name="item" id="::SpeechRecognitionResultList::item">
- <webidl> getter <ref>SpeechRecognitionResult</ref> item(unsigned long index);</webidl>
+ <webidl> getter <ref>SpeechRecognitionResult</ref> item(unsigned long index);</webidl>
<Type name="SpeechRecognitionResult"/>
<ArgumentList>
<Argument name="index">
</Operation>
</Interface>
<Interface name="SpeechRecognitionEvent" id="::SpeechRecognitionEvent">
- <webidl>interface SpeechRecognitionEvent : <ref>Event</ref> {
- readonly attribute unsigned long resultIndex;
- readonly attribute <ref>SpeechRecognitionResultList</ref> results;
- readonly attribute any interpretation;
- readonly attribute <ref>Document</ref> emma;
-};</webidl>
+ <webidl> interface SpeechRecognitionEvent : <ref>Event</ref> {
+ readonly attribute unsigned long resultIndex;
+ readonly attribute <ref>SpeechRecognitionResultList</ref> results;
+ readonly attribute any interpretation;
+ readonly attribute <ref>Document</ref> emma;
+ };</webidl>
<InterfaceInheritance>
<Name name="Event"/>
</InterfaceInheritance>
<Attribute readonly="readonly" name="resultIndex" id="::SpeechRecognitionEvent::resultIndex">
- <webidl> readonly attribute unsigned long resultIndex;</webidl>
+ <webidl> readonly attribute unsigned long resultIndex;</webidl>
<Type type="unsigned long"/>
</Attribute>
<Attribute readonly="readonly" name="results" id="::SpeechRecognitionEvent::results">
- <webidl> readonly attribute <ref>SpeechRecognitionResultList</ref> results;</webidl>
+ <webidl> readonly attribute <ref>SpeechRecognitionResultList</ref> results;</webidl>
<Type name="SpeechRecognitionResultList"/>
</Attribute>
<Attribute readonly="readonly" name="interpretation" id="::SpeechRecognitionEvent::interpretation">
- <webidl> readonly attribute any interpretation;</webidl>
+ <webidl> readonly attribute any interpretation;</webidl>
<Type type="any"/>
</Attribute>
<Attribute readonly="readonly" name="emma" id="::SpeechRecognitionEvent::emma">
- <webidl> readonly attribute <ref>Document</ref> emma;</webidl>
+ <webidl> readonly attribute <ref>Document</ref> emma;</webidl>
<Type name="Document"/>
</Attribute>
</Interface>
<Interface name="SpeechGrammar" id="::SpeechGrammar">
- <webidl>[Constructor]
-interface SpeechGrammar {
- attribute DOMString src;
- attribute float weight;
-};</webidl>
+ <webidl> [Constructor]
+ interface SpeechGrammar {
+ attribute DOMString src;
+ attribute float weight;
+ };</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="Constructor">
<webidl>Constructor</webidl>
</ExtendedAttribute>
</ExtendedAttributeList>
<Attribute name="src" id="::SpeechGrammar::src">
- <webidl> attribute DOMString src;</webidl>
+ <webidl> attribute DOMString src;</webidl>
<Type type="DOMString"/>
</Attribute>
<Attribute name="weight" id="::SpeechGrammar::weight">
- <webidl> attribute float weight;</webidl>
+ <webidl> attribute float weight;</webidl>
<Type type="float"/>
</Attribute>
</Interface>
<Interface name="SpeechGrammarList" id="::SpeechGrammarList">
- <webidl>[Constructor]
-interface SpeechGrammarList {
- readonly attribute unsigned long length;
- getter <ref>SpeechGrammar</ref> item(unsigned long index);
- void addFromURI(DOMString src, optional float weight);
- void addFromString(DOMString string, optional float weight);
-};</webidl>
+ <webidl> [Constructor]
+ interface SpeechGrammarList {
+ readonly attribute unsigned long length;
+ getter <ref>SpeechGrammar</ref> item(unsigned long index);
+ void addFromURI(DOMString src, optional float weight);
+ void addFromString(DOMString string, optional float weight);
+ };</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="Constructor">
<webidl>Constructor</webidl>
</ExtendedAttribute>
</ExtendedAttributeList>
<Attribute readonly="readonly" name="length" id="::SpeechGrammarList::length">
- <webidl> readonly attribute unsigned long length;</webidl>
+ <webidl> readonly attribute unsigned long length;</webidl>
<Type type="unsigned long"/>
</Attribute>
<Operation getter="getter" name="item" id="::SpeechGrammarList::item">
- <webidl> getter <ref>SpeechGrammar</ref> item(unsigned long index);</webidl>
+ <webidl> getter <ref>SpeechGrammar</ref> item(unsigned long index);</webidl>
<Type name="SpeechGrammar"/>
<ArgumentList>
<Argument name="index">
</ArgumentList>
</Operation>
<Operation name="addFromURI" id="::SpeechGrammarList::addFromURI">
- <webidl> void addFromURI(DOMString src, optional float weight);</webidl>
+ <webidl> void addFromURI(DOMString src, optional float weight);</webidl>
<Type type="void"/>
<ArgumentList>
<Argument name="src">
</ArgumentList>
</Operation>
<Operation name="addFromString" id="::SpeechGrammarList::addFromString">
- <webidl> void addFromString(DOMString string, optional float weight);</webidl>
+ <webidl> void addFromString(DOMString string, optional float weight);</webidl>
<Type type="void"/>
<ArgumentList>
<Argument name="string">