|
1 |
|
2 <!DOCTYPE html |
|
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="copyright" content="(C) Copyright 2009"/><meta name="DC.rights.owner" content="(C) Copyright 2009"/><meta name="DC.Type" content="mobileconcept"/><meta name="DC.Title" content="Criteria for receiving sensor data"/><meta name="DC.Relation" scheme="URI" content="GUID-7FD32D4D-871F-4251-844C-6CB59B593730"/><meta name="DC.Relation" scheme="URI" content="GUID-7C69DDA4-16F1-4A8F-BDB2-4CB0015B4E81"/><meta name="DC.Relation" scheme="URI" content="GUID-65AAF569-D347-462B-B59A-9D7CA184AB9C"/><meta name="DC.Relation" scheme="URI" content="GUID-B77C2006-879F-4AC6-B7BF-04B25B563A29"/><meta name="DC.Relation" scheme="URI" content="GUID-B4897257-F7BC-4C32-9C6C-A577FDAC5D09"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-B024688A-3701-4282-9C98-D984477E00C2"/><title>Criteria for |
|
5 receiving sensor data </title><script type="text/javascript"> |
|
6 function initPage() {} |
|
7 </script><link href="../PRODUCT_PLUGIN/book.css" rel="stylesheet" type="text/css"/><link href="css/s60/style.css" rel="stylesheet" type="text/css" media="all"/></head><body onload="initPage();"><div class="body"><div class="contentLeft prTxt"><h1 class="pageHeading" id="GUID-B024688A-3701-4282-9C98-D984477E00C2"><span>Criteria</span> for |
|
8 receiving sensor data</h1><div> |
|
9 <p>The <code>criteria</code> object specifies the sensor |
|
10 channel to listen for data.</p> |
|
11 <p>The <code>criteria</code> object has two main properties: <code>ListeningType</code> and <code>ChannelInfoMap</code>. These are described in the following table.</p> |
|
12 <div class="tablenoborder"><a name="GUID-B38A4654-9EFB-4F03-8113-E4FEFE88391E"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-B38A4654-9EFB-4F03-8113-E4FEFE88391E" frame="border" border="1" rules="all"><caption><strong>Table: </strong><span>Criteria</span> object properties</caption> |
|
13 |
|
14 <thead align="left"> |
|
15 <tr class="title "><th class="cellrowborder" valign="top" width="25%" id="d0e64401"> |
|
16 <p>Property</p> |
|
17 </th><th class="cellrowborder" valign="top" width="25%" id="d0e64406"> |
|
18 <p>Description</p> |
|
19 </th><th class="cellrowborder" valign="top" width="25%" id="d0e64411"> |
|
20 <p>Type</p> |
|
21 </th><th class="cellrowborder" valign="top" width="25%" id="d0e64416"> |
|
22 <p>Value</p> |
|
23 </th></tr> |
|
24 </thead> |
|
25 <tbody> |
|
26 <tr class=""> |
|
27 <td class="cellrowborder" valign="top" width="25%" headers="d0e64401 "> |
|
28 <p><code>criteria.ListeningType</code></p> |
|
29 </td> |
|
30 <td class="cellrowborder" valign="top" width="25%" headers="d0e64406 "> |
|
31 <p>Specifies the type of notification for which to register. This is always <code>"ChannelData"</code>.</p> |
|
32 </td> |
|
33 <td class="cellrowborder" valign="top" width="25%" headers="d0e64411 "> |
|
34 <p>string</p> |
|
35 </td> |
|
36 <td class="cellrowborder" valign="top" width="25%" headers="d0e64416 "> |
|
37 <p>Possible values:</p> |
|
38 <ul> |
|
39 <li><p><code>"ChannelData"</code></p></li> |
|
40 </ul> |
|
41 </td> |
|
42 </tr> |
|
43 <tr class="bg "> |
|
44 <td class="cellrowborder" valign="top" width="25%" headers="d0e64401 "> |
|
45 <p><code>criteria.ChannelInfoMap</code></p> |
|
46 </td> |
|
47 <td class="cellrowborder" valign="top" width="25%" headers="d0e64406 "> |
|
48 <p>Specifies the sensor channel to listen for data.</p> |
|
49 <p>Retrieve this object using the <a href="GUID-46DB749E-A388-46B2-BB13-A274385CA97C.html#GUID-46DB749E-A388-46B2-BB13-A274385CA97C"><code>FindSensorChannel</code></a> method.</p> |
|
50 <p>For more information about the object, see section <a href="GUID-FEB5D463-F6A1-44D9-9456-D95DE4BAED77.html#GUID-FEB5D463-F6A1-44D9-9456-D95DE4BAED77">Sensor channel information</a>.</p> |
|
51 </td> |
|
52 <td class="cellrowborder" valign="top" width="25%" headers="d0e64411 "> |
|
53 <p>object</p> |
|
54 </td> |
|
55 <td class="cellrowborder" valign="top" width="25%" headers="d0e64416 "> |
|
56 <p>See section <a href="GUID-FEB5D463-F6A1-44D9-9456-D95DE4BAED77.html#GUID-FEB5D463-F6A1-44D9-9456-D95DE4BAED77">Sensor channel information</a>.</p> |
|
57 </td> |
|
58 </tr> |
|
59 </tbody> |
|
60 </table></div></div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html> |