OSSingleton.ScreenOrientation/screenOrientation - multiple declarations

Function OSSingleton.screenOrientation

The current screen orientation.

OSSingleton.ScreenOrientation screenOrientation() nothrow @property @nogc;

void screenOrientation (
  long v
) nothrow @property @nogc;

Enum OSSingleton.ScreenOrientation

enum ScreenOrientation : int { ... }

Enum members

NameDescription
screenOrientationLandscape Landscape screen orientation.
screenOrientationPortrait Portrait screen orientation.
screenOrientationReverseLandscape Reverse landscape screen orientation.
screenOrientationReversePortrait Reverse portrait screen orientation.
screenOrientationSensor Uses most suitable orientation based on the hardware sensor.
screenOrientationSensorLandscape Uses landscape or reverse landscape based on the hardware sensor.
screenOrientationSensorPortrait Uses portrait or reverse portrait based on the hardware sensor.