define default values for the event interface members <http://lists.w3.org/Archives/Public/public-device-apis/2012Dec/0055.html>
authorAnssi Kostiainen <anssi.kostiainen@nokia.com>
Thu, 20 Dec 2012 11:31:22 +0200
changeset 31752acb4877e86
parent 316 caccec1ce94f
child 318 6507cb51ce47
define default values for the event interface members <http://lists.w3.org/Archives/Public/public-device-apis/2012Dec/0055.html>
proximity/Overview.html
     1.1 --- a/proximity/Overview.html	Thu Dec 20 11:17:48 2012 +0200
     1.2 +++ b/proximity/Overview.html	Thu Dec 20 11:31:22 2012 +0200
     1.3 @@ -192,6 +192,24 @@
     1.4            <dd></dd>
     1.5          </dl>
     1.6          <p>
     1.7 +          The <code>value</code> attribute MUST return the value it was
     1.8 +          initialized to. When the object is created, this attribute MUST be
     1.9 +          initialized to positive Infinity. It represents the <a>current device
    1.10 +          proximity</a>.
    1.11 +        </p>
    1.12 +        <p>
    1.13 +          The <code>min</code> attribute MUST return the value it was
    1.14 +          initialized to. When the object is created, this attribute MUST be
    1.15 +          initialized to negative Infinity. It represents the <a>minimum sensing
    1.16 +          distance</a>.
    1.17 +        </p>
    1.18 +        <p>
    1.19 +          The <code>max</code> attribute MUST return the value it was
    1.20 +          initialized to. When the object is created, this attribute MUST be
    1.21 +          initialized to positive Infinity. It represents the <a>maximum sensing
    1.22 +          distance</a>.
    1.23 +        </p>
    1.24 +        <p>
    1.25            When a <dfn>user agent</dfn> is required to <dfn>fire a device
    1.26            proximity event</dfn>, the <dfn>user agent</dfn> MUST run the
    1.27            following steps:
    1.28 @@ -298,6 +316,12 @@
    1.29            <dd></dd>
    1.30          </dl>
    1.31          <p>
    1.32 +          The <code>near</code> attribute MUST return the value it was
    1.33 +          initialized to. When the object is created, this attribute MUST be
    1.34 +          initialized to false. It represents the <a>current user proximity
    1.35 +          state</a>.
    1.36 +        </p>
    1.37 +        <p>
    1.38            When a <dfn>user agent</dfn> is required to <dfn>fire a user
    1.39            proximity event</dfn>, the <dfn>user agent</dfn> MUST run the
    1.40            following steps: