GetOrientation

Description

Returns the current orientation of the device. The values returned are: 1 = portrait mode, 2 = portrait mode - 180 degrees rotation, 3 = landscape mode - 90 degrees counterclockwise, 4 = landscape mode - 90 degrees clockwise

Definition

integer GetOrientation()