Orientation sensor channel

Indicates the orientation of the device, for example: display up or display down

Header

#include <sensrvorientationsensor.h>

Data type

State

Channel type id

KSensrvChannelTypeIdOrientationData

Data class

TSensrvOrientationData

Data units

Enumeration

The orientation of a phone is illustrated with six basic orientations as shown in the figure below. 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.