Controls screen closing, always-on, capture blocking, swipe back, and orientation.
Screen.close
Closes the current screen
close
Screen.setAwakeMode
Sets whether the screen stays always on
setAwakeMode
Screen.setSecure
Blocks or allows screen captures
setSecure
Screen.setIosSwipeBack
Enables or disables swipe-back on iOS
setIosSwipeBack
Screen.setOrientation
Sets the device screen orientation
setOrientation
Was this helpful?