Symbian3/PDK/Source/GUID-9665D904-8B86-4680-AD19-85E1609F450F.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Tue, 30 Mar 2010 11:56:28 +0100
changeset 5 f345bda72bc4
parent 3 46218c8b8afa
child 9 59758314f811
permissions -rw-r--r--
Week 12 contribution of PDK documentation_content. See release notes for details. Fixes Bug 2054, Bug 1583, Bug 381, Bug 390, Bug 463, Bug 1897, Bug 344, Bug 1319, Bug 394, Bug 1520, Bug 1522, Bug 1892"

<?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_d0e169584_href.png" placement="inline"/>
</fig></p></section>
</refbody></reference>