Package io.appium.java_client.android
Interface HasAndroidDeviceDetails
-
- All Superinterfaces:
ExecutesMethod
- All Known Implementing Classes:
AndroidDriver
public interface HasAndroidDeviceDetails extends ExecutesMethod
-
-
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.-
Methods inherited from interface io.appium.java_client.ExecutesMethod
execute, execute
-
-
-
-
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.
-
-