orientationLockMode property
Determines which mode to use when orientation should be locked to landscape or portrait. Default is NONE
Implementation
OrientationLockMode orientationLockMode;
Determines which mode to use when orientation should be locked to landscape or portrait. Default is NONE
OrientationLockMode orientationLockMode;