Symbian3/PDK/Source/GUID-9665D904-8B86-4680-AD19-85E1609F450F.dita
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 16 Jul 2010 17:23:46 +0100
changeset 12 80ef3a206772
parent 9 59758314f811
child 14 578be2adaf3e
permissions -rw-r--r--
Week 28 contribution of PDK documentation content. See release notes for details. Fixes bugs Bug 1897, Bug 344, Bug 2681, Bug 463, Bug 1522.

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE reference
  PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="GUID-9665D904-8B86-4680-AD19-85E1609F450F" xml:lang="en"><title>Orientation
sensor channel </title><shortdesc>The orientation sensor channel indicates the orientation of the
Symbian device, for example, display up or display down.</shortdesc><prolog><metadata><keywords/></metadata></prolog><refbody>
<section id="GUID-8BEFD4A9-44A8-4C30-8D19-7CB6CEDF0035">       <p>The following
table provides information about the orientation sensor channel:</p><table id="GUID-63861A4F-9991-4AD4-AA0D-C71DAAB6C02A">
<tgroup cols="2"><colspec colname="col1" colwidth="1.01*"/><colspec colname="col2" colwidth="0.99*"/>
<tbody>
<row>
<entry>Header</entry>
<entry>sensrvorientationsensor.h</entry>
</row>
<row>
<entry>Data type </entry>
<entry>State</entry>
</row>
<row>
<entry>Channel type id</entry>
<entry>KSensrvChannelTypeIdOrientationData</entry>
</row>
<row>
<entry>Data class</entry>
<entry>TSensrvOrientationData</entry>
</row>
<row>
<entry>Data units</entry>
<entry>Enumeration</entry>
</row>
</tbody>
</tgroup>
</table><p>The orientation of a Symbian device is illustrated with six basic
orientations as shown in the following figure. In display up and display down
orientation the gravitation is along the y-axis. In phone left side up and
phone right side up orientation the gravitation is along the x-axis. In display
upwards and display downwards orientation the gravitation is along the z-axis.<fig id="GUID-C3EAA1EC-EADE-4F8E-86DC-D9EB6DA3B874">
<title>Basic orientations of a Symbian device</title>
<image href="GUID-56BC73B4-E919-487A-9D29-99584204F14C_d0e171005_href.png" placement="inline"/>
</fig></p></section>
</refbody></reference>