Interface DeviceInforming.DisplayInformation

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract int getWidthPixels() Returns absolute width of the available display size in pixels.
      abstract int getHeightPixels() Returns absolute height of the available display size in pixels.
      abstract int getDensityDpi() Returns the screen dots-per-inch
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.