- From: Max Froumentin via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 02 Dec 2009 16:20:00 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/system-info
In directory hutz:/tmp/cvs-serv14633
Modified Files:
Overview.html
Log Message:
hooking into navigator.device
Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/system-info/Overview.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- Overview.html 2 Dec 2009 12:35:07 -0000 1.17
+++ Overview.html 2 Dec 2009 16:19:58 -0000 1.18
@@ -34,9 +34,20 @@
<section class="API">
<h2>API Description</h2>
+ <section>
+ <h3>The <a>SystemInformation</a> interface</h3>
+
+ <p>Objects implementing the <code>NavigatorDevice</code> interface (e.g. the <code>window.navigator.device</code> object in Web browsers [NAVIGATOR]) provide access to the interfaces defined below through the <code>SystemInformation</code> interface. An instance of <code>SystemInformation</code> would be then obtained by using binding-specific casting methods on an instance of NavigatorDevice.</p>
+
+ <dl title='[NoInterfaceObject] interface SystemInformation' class='idl'>
+ <dt>readonly attribute Power power</dt>
+ <dd>The attribute used to access the <a href="#power">Power API</a></dd>
+ </dl>
+ </section>
+
<!--****************** Power ************************************************-->
- <section>
- <h3>Power</h3>
+ <section id="power">
+ <h3>Power</h3>
<p>This API exposes the device's power state: whether it is running on internal or external power source, as well as its charge level. The API also allows monitoring power sources.</p>
@@ -2245,7 +2256,6 @@
</section>
<!-- end api description section -->
-
</section>
<!--************************************* Requirements ***************************************************-->
<section class="informative appendix">
Received on Wednesday, 2 December 2009 16:20:09 UTC