This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Android.Adb.
Summary
Override the target's display density. This command is helpful for testing your app across different screen densities on high-density screen environment using a low density screen, and vice versa.
Syntax
public static List<string> AmDisplayDensity(this ICakeContext context, int dpi, AdbToolSettings settings = null)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
Context. |
dpi |
int |
Density in dpi. |
settings |
AdbToolSettings |
Settings. |
Return Value
Type |
Description |
List<string> |
The display density. |