LimitOrientationsHelper
interface LimitOrientationsHelper
Content copied to clipboard
Interface to support managing orientations
You can turn a mobile device on its side or upside down, and a mobile OS may or may not allow the position changes to automatically result in App orientation changes. This is about limiting that feature.
Functions
allowPortrait
Link copied to clipboard
Pass a Boolean setting as used in allowAndroidPortrait to the OS.
limitOrientations
Link copied to clipboard
Set a specific requested orientation or pull the setting from disk and act accordingly
Sources
jvm source
Link copied to clipboard