Skip to main content

Orientation

Namespace: Wisej.Hybrid.Shared.Screen

Assembly: Wisej.Hybrid

Indicates the physical orientation of the device.

public enum Orientation : Enum

Fields

NameDescription
FaceDownThe device is held parallel to the ground with the screen facing downwards.
FaceUpThe device is held parallel to the ground with the screen facing upwards.
LandscapeLeftThe device is in landscape mode, with the device held upright and the home button on the right side.
LandscapeRightThe device is in landscape mode, with the device held upright and the home button on the left side.
PortraitThe device is in portrait mode, with the device held upright and the home button at the bottom.
PortraitUpSideDownThe device is in portrait mode but upside down, with the device held upright and the home button at the top.
UnknownThe orientation of the device cannot be determined.