System.desktopHeight

Function/Meaning
Desktop height
Type
System Class Properties
Explanation

Represents the height of the desktop (the area in which the window can be displayed) in pixels.
The value is for a display with a main window.
If there is no main window, the primary display is the target.
Screen width height on Android.

Reference
System.screenWidth
System.screenHeight
System.desktopLeft
System.desktopTop
System.desktopWidth