- From: Robin Berjon via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 05 Oct 2009 15:16:48 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/device In directory hutz:/tmp/cvs-serv26768/device Added Files: Overview.html Log Message: added device; several fixes to ReSpec references --- NEW FILE: Overview.html --- <!DOCTYPE html> <html> <head> <title>The Device interface</title> <meta http-equiv='Content-Type' content='text/html;charset=utf-8'/> <script src='../ReSpec.js/js/respec.js' class='remove'></script> <script class='remove'> var respecConfig = { specStatus: "ED", shortName: "device-api", // publishDate: "2009-08-06", // previousPublishDate: "1977-03-15", edDraftURI: "http://dev.w3.org/2009/dap/device/", // lcEnd: "2009-08-05", }; </script> <script src='../common/config.js' class='remove'></script> </head> <body> <section id='abstract'> This specification defines the common interface from which all device APIs are can be accessed. </section> <section id='conformance'> <p> This specification defines a single conformance class: that which comprises <dfn title='user agent'>user agents</dfn> that support these interfaces. </p> </section> <section> <h2>The <code>Device</code> interface</h2> <p> The <a>Device</a> interface is initially defined as an empty interface on which the various device APIs that are defined elsewhere graft themselves. A <a>user agent</a> supporting the <a>Device</a> interface MUST do so according to the following WebIDL [[!WEBIDL]] definition. </p> <dl title='[NoInterfaceObject] interface Device' class='idl'></dl> </section> <section> <h2>The <code>NavigatorDevice</code> interface</h2> <p> The <a>NavigatorDevice</a> interface supplements the <a class='externalDFN'>Navigator</a> interface which is defined as part of HTML 5 [[!HTML5]]. A <a>user agent</a> MUST expose a <code>device</code> attribute that implements the <a>Device</a> interface on the <code>navigator</code> object. </p> <dl title='[Supplemental, NoInterfaceObject] interface NavigatorDevice' class='idl'> <dt>readonly attribute Device device</dt> <dd> Returns the <a>Device</a> object which provides access to all the device APIs that the <a>user agent</a> exposes. </dd> </dl> <section> <h2>Integration with the <code>navigator</code> object</h2> <div class='idl' title='Navigator implements NavigatorDevice'></div> </section> </section> <section class='appendix informative'> <h2>Acknowledgements</h2> <p> The editors would like to thank (in not particular order): Anne van Kesteren, Brian LeRoux, Claes Nilsson, and Peter-Paul Koch. </p> </section> </body> </html>
Received on Monday, 5 October 2009 15:16:51 UTC