org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-46FAFCDA-BCF3-41CB-B154-C17BBF7CD755.html
changeset 229 716254ccbcc0
equal deleted inserted replaced
228:913c9751c067 229:716254ccbcc0
       
     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="Sensor Service API error messages"/><meta name="DC.Relation" scheme="URI" content="GUID-350F3C29-923E-4C30-8B14-C3D594BB8E39"/><meta name="DC.Relation" scheme="URI" content="GUID-FEB5D463-F6A1-44D9-9456-D95DE4BAED77"/><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.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-46FAFCDA-BCF3-41CB-B154-C17BBF7CD755"/><title>Sensor Service API error messages </title><script type="text/javascript">
       
     5       function initPage() {}
       
     6     </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-46FAFCDA-BCF3-41CB-B154-C17BBF7CD755">Sensor Service API error messages</h1><div>
       
     7 <p>This section provides information about the error messages returned
       
     8 by the Sensor Service API methods.</p>
       
     9 <div><h3>Generic error messages</h3>
       
    10 <p>The following table describes the error messages returned during the
       
    11 loading of the service provider.</p>
       
    12 <div class="tablenoborder"><a name="GUID-DB120506-E04C-4A44-9A3E-AAB235403C77"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-DB120506-E04C-4A44-9A3E-AAB235403C77" frame="border" border="1" rules="all"><caption><strong>Table: </strong>Service provider
       
    13 error messages</caption>
       
    14 <thead align="left">
       
    15 <tr class="title "><th class="cellrowborder" valign="top" id="d0e66335">
       
    16 <p>Error message</p>
       
    17 </th><th class="cellrowborder" valign="top" id="d0e66340">
       
    18 <p>Description</p>
       
    19 </th></tr>
       
    20 </thead>
       
    21 <tbody>
       
    22 <tr class="">
       
    23 <td class="cellrowborder" valign="top" headers="d0e66335 ">
       
    24 <p><code>Sensors:Requested interface not supported by the provider</code></p>
       
    25 </td>
       
    26 <td class="cellrowborder" valign="top" headers="d0e66340 ">
       
    27 <p>The requested interface is not supported by the service provider.</p>
       
    28 </td>
       
    29 </tr>
       
    30 <tr class="bg ">
       
    31 <td class="cellrowborder" valign="top" headers="d0e66335 ">
       
    32 <p><code>Sensors:Interface name missing</code></p>
       
    33 </td>
       
    34 <td class="cellrowborder" valign="top" headers="d0e66340 ">
       
    35 <p>The interface name is missing from the request.</p>
       
    36 </td>
       
    37 </tr>
       
    38 </tbody>
       
    39 </table></div>
       
    40 <p>The following table describes the error messages returned by asynchronous
       
    41 method calls.</p>
       
    42 <div class="tablenoborder"><a name="GUID-76F24F3F-3C28-4F6A-A766-DA9BD004C5BE"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-76F24F3F-3C28-4F6A-A766-DA9BD004C5BE" frame="border" border="1" rules="all"><caption><strong>Table: </strong>Asynchronous
       
    43 call error messages</caption>
       
    44 <thead align="left">
       
    45 <tr class="title "><th class="cellrowborder" valign="top" id="d0e66398">
       
    46 <p>Error message</p>
       
    47 </th><th class="cellrowborder" valign="top" id="d0e66403">
       
    48 <p>Description</p>
       
    49 </th></tr>
       
    50 </thead>
       
    51 <tbody>
       
    52 <tr class="">
       
    53 <td class="cellrowborder" valign="top" headers="d0e66398 ">
       
    54 <p><code>Sensors:Insufficent argument for asynchronous request</code></p>
       
    55 </td>
       
    56 <td class="cellrowborder" valign="top" headers="d0e66403 ">
       
    57 <p>The <code>callback</code> method is missing.</p>
       
    58 </td>
       
    59 </tr>
       
    60 </tbody>
       
    61 </table></div></div>
       
    62 <div><h3>FindSensorChannel</h3>
       
    63 <p>The following table describes the error messages returned by <a href="GUID-46DB749E-A388-46B2-BB13-A274385CA97C.html#GUID-46DB749E-A388-46B2-BB13-A274385CA97C"><code>FindSensorChannel</code></a> as part of its return value.</p>
       
    64 <div class="tablenoborder"><a name="GUID-2195BDD9-085B-4252-85CF-4A1B498F8FFE"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-2195BDD9-085B-4252-85CF-4A1B498F8FFE" frame="border" border="1" rules="all"><caption><strong>Table: </strong>FindSensorChannel
       
    65 error messages</caption>
       
    66 <thead align="left">
       
    67 <tr class="title "><th class="cellrowborder" valign="top" id="d0e66456">
       
    68 <p>Error message</p>
       
    69 </th><th class="cellrowborder" valign="top" id="d0e66461">
       
    70 <p>Description</p>
       
    71 </th></tr>
       
    72 </thead>
       
    73 <tbody>
       
    74 <tr class="">
       
    75 <td class="cellrowborder" valign="top" headers="d0e66456 ">
       
    76 <p><code>Sensors:FindSensorChannel:Search Criterion Missing</code></p>
       
    77 </td>
       
    78 <td class="cellrowborder" valign="top" headers="d0e66461 ">
       
    79 <p>The channel search criterion is missing from the input.</p>
       
    80 </td>
       
    81 </tr>
       
    82 <tr class="bg ">
       
    83 <td class="cellrowborder" valign="top" headers="d0e66456 ">
       
    84 <p><code>Sensors:FindSensorChannel:Invalid Search Criterion</code></p>
       
    85 </td>
       
    86 <td class="cellrowborder" valign="top" headers="d0e66461 ">
       
    87 <p>The channel search criterion is invalid and does not fall within the
       
    88 specified range of search criterion strings.</p>
       
    89 </td>
       
    90 </tr>
       
    91 <tr class="">
       
    92 <td class="cellrowborder" valign="top" headers="d0e66456 ">
       
    93 <p><code>Sensors:FindSensorChannel:Channel search param type invalid</code></p>
       
    94 </td>
       
    95 <td class="cellrowborder" valign="top" headers="d0e66461 ">
       
    96 <p>The type of the parameter passed for the channel search criterion is
       
    97 invalid.</p>
       
    98 </td>
       
    99 </tr>
       
   100 </tbody>
       
   101 </table></div></div>
       
   102 <div><h3>RegisterForNotification</h3>
       
   103 <p>The following table describes the error messages returned by <a href="GUID-C7C3B541-8D28-4DC6-9003-ECF57F26C608.html#GUID-C7C3B541-8D28-4DC6-9003-ECF57F26C608"><code>callback</code></a> for <a href="GUID-B4897257-F7BC-4C32-9C6C-A577FDAC5D09.html#GUID-B4897257-F7BC-4C32-9C6C-A577FDAC5D09"><code>RegisterForNotification</code></a> as
       
   104 part of its return value.</p>
       
   105 <div class="tablenoborder"><a name="GUID-C48AF60A-9FE7-433B-A7C6-A3C6FA011425"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-C48AF60A-9FE7-433B-A7C6-A3C6FA011425" frame="border" border="1" rules="all"><caption><strong>Table: </strong>RegisterForNotification
       
   106 error messages</caption>
       
   107 <thead align="left">
       
   108 <tr class="title "><th class="cellrowborder" valign="top" id="d0e66547">
       
   109 <p>Error message</p>
       
   110 </th><th class="cellrowborder" valign="top" id="d0e66552">
       
   111 <p>Description</p>
       
   112 </th></tr>
       
   113 </thead>
       
   114 <tbody>
       
   115 <tr class="">
       
   116 <td class="cellrowborder" valign="top" headers="d0e66547 ">
       
   117 <p><code>Sensors:RegisterForNotification:Listening type missing</code></p>
       
   118 </td>
       
   119 <td class="cellrowborder" valign="top" headers="d0e66552 ">
       
   120 <p>The <code>ListeningType</code> property is missing from the
       
   121 input.</p>
       
   122 </td>
       
   123 </tr>
       
   124 <tr class="bg ">
       
   125 <td class="cellrowborder" valign="top" headers="d0e66547 ">
       
   126 <p><code>Sensors:RegisterForNotification:Listening type is invalid</code></p>
       
   127 </td>
       
   128 <td class="cellrowborder" valign="top" headers="d0e66552 ">
       
   129 <p>The <code>ListeningType</code> property contains a value with
       
   130 an invalid type.</p>
       
   131 </td>
       
   132 </tr>
       
   133 <tr class="">
       
   134 <td class="cellrowborder" valign="top" headers="d0e66547 ">
       
   135 <p><code>Sensors:RegisterForNotification:ChannelInfoMap missing</code></p>
       
   136 </td>
       
   137 <td class="cellrowborder" valign="top" headers="d0e66552 ">
       
   138 <p>The <code>ChannelInfoMap</code> property is missing from the
       
   139 input.</p>
       
   140 </td>
       
   141 </tr>
       
   142 <tr class="bg ">
       
   143 <td class="cellrowborder" valign="top" headers="d0e66547 ">
       
   144 <p><code>Sensors:RegisterForNotification:Incomplete input param list</code></p>
       
   145 </td>
       
   146 <td class="cellrowborder" valign="top" headers="d0e66552 ">
       
   147 <p>The input parameter list is incomplete.</p>
       
   148 </td>
       
   149 </tr>
       
   150 <tr class="">
       
   151 <td class="cellrowborder" valign="top" headers="d0e66547 ">
       
   152 <p><code>Sensors:RegisterForNotification:Listening type is out of allowed
       
   153 range</code></p>
       
   154 </td>
       
   155 <td class="cellrowborder" valign="top" headers="d0e66552 ">
       
   156 <p>The value of the <code>ListeningType</code> property falls outside
       
   157 the allowed range of listening types.</p>
       
   158 </td>
       
   159 </tr>
       
   160 <tr class="bg ">
       
   161 <td class="cellrowborder" valign="top" headers="d0e66547 ">
       
   162 <p><code>Sensors:RegisterForNotification:Callback missing</code></p>
       
   163 </td>
       
   164 <td class="cellrowborder" valign="top" headers="d0e66552 ">
       
   165 <p>The callback method is missing.</p>
       
   166 </td>
       
   167 </tr>
       
   168 <tr class="">
       
   169 <td class="cellrowborder" valign="top" headers="d0e66547 ">
       
   170 <p><code>Sensors:RegisterForNotification:Notification is already registered
       
   171 on this channel</code></p>
       
   172 </td>
       
   173 <td class="cellrowborder" valign="top" headers="d0e66552 ">
       
   174 <p>The notification has already been registered by the same user on the
       
   175 same channel.</p>
       
   176 </td>
       
   177 </tr>
       
   178 </tbody>
       
   179 </table></div></div>
       
   180 <div><h3>Cancel</h3>
       
   181 <p>The following table describes the error messages returned by <a href="GUID-3A306F4B-638D-4133-8575-2E269E565B7F.html#GUID-3A306F4B-638D-4133-8575-2E269E565B7F"><code>Cancel</code></a> as part of its return value.</p>
       
   182 <div class="tablenoborder"><a name="GUID-B8450C66-D820-4CFC-B430-A2B403E19908"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-B8450C66-D820-4CFC-B430-A2B403E19908" frame="border" border="1" rules="all"><caption><strong>Table: </strong>Cancel error
       
   183 messages</caption>
       
   184 <thead align="left">
       
   185 <tr class="title "><th class="cellrowborder" valign="top" id="d0e66710">
       
   186 <p>Error message</p>
       
   187 </th><th class="cellrowborder" valign="top" id="d0e66715">
       
   188 <p>Description</p>
       
   189 </th></tr>
       
   190 </thead>
       
   191 <tbody>
       
   192 <tr class="">
       
   193 <td class="cellrowborder" valign="top" headers="d0e66710 ">
       
   194 <p><code>Sensors:Cancel:Transaction ID missing</code></p>
       
   195 </td>
       
   196 <td class="cellrowborder" valign="top" headers="d0e66715 ">
       
   197 <p>The <code>TransactionID</code> property is missing from the
       
   198 input.</p>
       
   199 </td>
       
   200 </tr>
       
   201 <tr class="bg ">
       
   202 <td class="cellrowborder" valign="top" headers="d0e66710 ">
       
   203 <p><code>Sensors:Cancel:Incorrect TransactionID</code></p>
       
   204 </td>
       
   205 <td class="cellrowborder" valign="top" headers="d0e66715 ">
       
   206 <p>The <code>TransactionID</code> property contains an invalid
       
   207 transaction ID.</p>
       
   208 </td>
       
   209 </tr>
       
   210 </tbody>
       
   211 </table></div></div>
       
   212 <div><h3>GetChannelProperty</h3>
       
   213 <p>The following table describes the error messages returned by <a href="GUID-C2731B38-6294-419C-B7E2-AFB918F508D4.html#GUID-C2731B38-6294-419C-B7E2-AFB918F508D4"><code>GetChannelProperty</code></a> as part of its return value.</p>
       
   214 <div class="tablenoborder"><a name="GUID-B89CE2E9-9A21-477F-BF76-E65737CA743C"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-B89CE2E9-9A21-477F-BF76-E65737CA743C" frame="border" border="1" rules="all"><caption><strong>Table: </strong>GetChannelProperty
       
   215 error messages</caption>
       
   216 <thead align="left">
       
   217 <tr class="title "><th class="cellrowborder" valign="top" id="d0e66787">
       
   218 <p>Error message</p>
       
   219 </th><th class="cellrowborder" valign="top" id="d0e66792">
       
   220 <p>Description</p>
       
   221 </th></tr>
       
   222 </thead>
       
   223 <tbody>
       
   224 <tr class="">
       
   225 <td class="cellrowborder" valign="top" headers="d0e66787 ">
       
   226 <p><code>Sensors:GetChannelProperty:Property id missing</code></p>
       
   227 </td>
       
   228 <td class="cellrowborder" valign="top" headers="d0e66792 ">
       
   229 <p>The <code>PropertyId</code> property is missing from the input.</p>
       
   230 </td>
       
   231 </tr>
       
   232 <tr class="bg ">
       
   233 <td class="cellrowborder" valign="top" headers="d0e66787 ">
       
   234 <p><code>Sensors:GetChannelProperty:Invalid property id</code></p>
       
   235 </td>
       
   236 <td class="cellrowborder" valign="top" headers="d0e66792 ">
       
   237 <p>The <code>PropertyId</code> input property contains an invalid
       
   238 value. The value does not fall within the allowed range of property ID strings.</p>
       
   239 </td>
       
   240 </tr>
       
   241 <tr class="">
       
   242 <td class="cellrowborder" valign="top" headers="d0e66787 ">
       
   243 <p><code>Sensors:GetChannelProperty:ChannelInfoMap missing</code></p>
       
   244 </td>
       
   245 <td class="cellrowborder" valign="top" headers="d0e66792 ">
       
   246 <p>The <code>ChannelInfoMap</code> property is missing from the
       
   247 input.</p>
       
   248 </td>
       
   249 </tr>
       
   250 <tr class="bg ">
       
   251 <td class="cellrowborder" valign="top" headers="d0e66787 ">
       
   252 <p><code>Sensors:GetChannelProperty:Channel property not supported</code></p>
       
   253 </td>
       
   254 <td class="cellrowborder" valign="top" headers="d0e66792 ">
       
   255 <p>The specified channel property is not supported and hence no value is
       
   256 returned.</p>
       
   257 </td>
       
   258 </tr>
       
   259 <tr class="">
       
   260 <td class="cellrowborder" valign="top" headers="d0e66787 ">
       
   261 <p><code>Sensors:GetChannelProperty:Incomplete input param list</code></p>
       
   262 </td>
       
   263 <td class="cellrowborder" valign="top" headers="d0e66792 ">
       
   264 <p>The input param list is incomplete.</p>
       
   265 </td>
       
   266 </tr>
       
   267 </tbody>
       
   268 </table></div></div>
       
   269 </div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>