When the screen is rotated
orientation | The orientation of the screen. It can be one of the following values: oriUnknown (acquisition failure / unknown), oriPortrait (portrait), oriLandscape (landscape) |
angle | The angle. The angle is 0, 90, 180, 270, or -1, and if it cannot be obtained, it will be -1. |
bpp | bits per pixel. On Android, the dpi value is returned. |
width | The width of the screen. |
height | The height of the screen. |
Represents an event function that is called when the screen is rotated.