Skip to main content
Use this API to get the current screen orientation of the device.

Parameters

Success Callback Parameters

Code Example

Basic Usage

Adaptive Layout

Orientation Values

my.setScreenOrientation

Set screen orientation

my.onScreenOrientationChange

Listen for orientation changes