Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,21 @@

public interface HasAndroidDeviceDetails extends ExecutesMethod {

/*
Retrieve the display density of the Android device.
/**
Retrieve the display density of the Android device.

@return The density value in dpi
*/
default Long getDisplayDensity() {
return CommandExecutionHelper.execute(this, getDisplayDensityCommand());
}

/*
Retrieve visibility and bounds information of the status and navigation bars.
/**
Retrieve visibility and bounds information of the status and navigation bars.

@return The map where keys are bar types and values are mappings of bar properties.
*/
default Map<String, String> getSystemBars() {
default Map<String, Map<String, Object>> getSystemBars() {
return CommandExecutionHelper.execute(this, getSystemBarsCommand());
}

Expand Down