ActivityManagerAliases.

AmDisplayDensity(ICakeContext, int, AdbToolSettings) Method

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.
Assembly
Cake.Android.Adb.dll
Namespace
Cake.AndroidAdb
Containing Type
ActivityManagerAliases

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.