Interface HasAndroidDeviceDetails

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.lang.Long getDisplayDensity()
      Retrieve the display density of the Android device.
      default java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.Object>> getSystemBars()
      Retrieve visibility and bounds information of the status and navigation bars.
    • Method Detail

      • getDisplayDensity

        default java.lang.Long getDisplayDensity()
        Retrieve the display density of the Android device.
        Returns:
        The density value in dpi
      • getSystemBars

        default java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.Object>> getSystemBars()
        Retrieve visibility and bounds information of the status and navigation bars.
        Returns:
        The map where keys are bar types and values are mappings of bar properties.