org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-B024688A-3701-4282-9C98-D984477E00C2.html
author Eugene Ostroukhov <eugeneo@symbian.org>
Fri, 11 Jun 2010 13:33:03 -0700
changeset 372 1e408ee32d8a
parent 229 716254ccbcc0
permissions -rw-r--r--
Added templates for WRT 1.1 platform services


<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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
receiving sensor data </title><script type="text/javascript">
      function initPage() {}
    </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
receiving sensor data</h1><div>
<p>The <code>criteria</code> object specifies the sensor
channel to listen for data.</p>
<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>
<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>

<thead align="left">
<tr class="title "><th class="cellrowborder" valign="top" width="25%" id="d0e64401">
<p>Property</p>
</th><th class="cellrowborder" valign="top" width="25%" id="d0e64406">
<p>Description</p>
</th><th class="cellrowborder" valign="top" width="25%" id="d0e64411">
<p>Type</p>
</th><th class="cellrowborder" valign="top" width="25%" id="d0e64416">
<p>Value</p>
</th></tr>
</thead>
<tbody>
<tr class="">
<td class="cellrowborder" valign="top" width="25%" headers="d0e64401 ">
<p><code>criteria.ListeningType</code></p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e64406 ">
<p>Specifies the type of notification for which to register. This is always <code>"ChannelData"</code>.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e64411 ">
<p>string</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e64416 ">
<p>Possible values:</p>
<ul>
<li><p><code>"ChannelData"</code></p></li>
</ul>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" width="25%" headers="d0e64401 ">
<p><code>criteria.ChannelInfoMap</code></p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e64406 ">
<p>Specifies the sensor channel to listen for data.</p>
<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>
<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>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e64411 ">
<p>object</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e64416 ">
<p>See section <a href="GUID-FEB5D463-F6A1-44D9-9456-D95DE4BAED77.html#GUID-FEB5D463-F6A1-44D9-9456-D95DE4BAED77">Sensor channel information</a>.</p>
</td>
</tr>
</tbody>
</table></div></div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>