Interface DeviceInforming.DisplayInformation
-
- All Implemented Interfaces:
public interface DeviceInforming.DisplayInformation
-
-
Method Summary
Modifier and Type Method Description abstract intgetWidthPixels()Returns absolute width of the available display size in pixels. abstract intgetHeightPixels()Returns absolute height of the available display size in pixels. abstract intgetDensityDpi()Returns the screen dots-per-inch -
-
Method Detail
-
getWidthPixels
abstract int getWidthPixels()
Returns absolute width of the available display size in pixels.
- Returns:
width in pixels if available. -1 otherwise.
-
getHeightPixels
abstract int getHeightPixels()
Returns absolute height of the available display size in pixels.
- Returns:
height in pixels if available. -1 otherwise.
-
getDensityDpi
abstract int getDensityDpi()
Returns the screen dots-per-inch
- Returns:
dpi if available. -1 otherwise.
-
-
-
-