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