ActivityManagerAliases.

AmDisplaySize(ICakeContext, int, int, AdbToolSettings) Method

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

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.