OrientationLockType Enum

An orientation to which the screen can be locked (https://w3c.github.io/screen-orientation/#orientationlocktype-enum).

public enum OrientationLockType

Fields

NameValueDescription
Any0The screen can be rotated to any orientation.
Natural1The natural orientation of the screen.
Landscape2A landscape orientation, primary or secondary.
Portrait3A portrait orientation, primary or secondary.
PortraitPrimary4The primary portrait orientation.
PortraitSecondary5The secondary portrait orientation.
LandscapePrimary6The primary landscape orientation.
LandscapeSecondary7The secondary landscape orientation.