OSSingleton.ScreenOrientation

Values

ValueMeaning
screenOrientationLandscape0

Landscape screen orientation.

screenOrientationPortrait1

Portrait screen orientation.

screenOrientationReverseLandscape2

Reverse landscape screen orientation.

screenOrientationReversePortrait3

Reverse portrait screen orientation.

screenOrientationSensorLandscape4

Uses landscape or reverse landscape based on the hardware sensor.

screenOrientationSensorPortrait5

Uses portrait or reverse portrait based on the hardware sensor.

screenOrientationSensor6

Uses most suitable orientation based on the hardware sensor.

Meta