Window.displayRotate
Function/Meaning
Display rotation angle (1.1.0 or later)
Type
Window class
property (read-only)
Description
Represents the rotation angle of the display.
It is one of 0, 90, 180, 270, or -1. If it could not be retrieved, it is -1.
Reference
Window.onDisplayRotate
Window.displayOrientation