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 size. This command is helpful for testing your app across different screen sizes by mimicking a small screen resolution using a device with a large screen, and vice versa.
Syntax
public static List<string> AmDisplaySize(this ICakeContext context, int width, int height, AdbToolSettings settings = null)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
Context. |
width |
int |
Width. |
height |
int |
Height. |
settings |
AdbToolSettings |
Settings. |
Return Value
Type |
Description |
List<string> |
The display size. |