Builder

class Builder(val left: Int, val top: Int, val width: Int, val height: Int)

A builder for AddScreenRequest, which allows setting the optional parameters of the EmulationDomain.addScreen command via a lambda.

Constructors

Link copied to clipboard
constructor(left: Int, top: Int, width: Int, height: Int)

Properties

Link copied to clipboard

Specifies the screen's color depth in bits. Default is 24.

Link copied to clipboard

Specifies the screen's device pixel ratio. Default is 1.

Link copied to clipboard
val height: Int

The height of the screen in pixels.

Link copied to clipboard

Indicates whether the screen is internal to the device or external, attached to the device. Default is false.

Link copied to clipboard

Specifies the descriptive label for the screen. Default is none.

Link copied to clipboard
val left: Int

Offset of the left edge of the screen in pixels.

Link copied to clipboard

Specifies the screen's rotation angle. Available values are 0, 90, 180 and 270. Default is 0.

Link copied to clipboard
val top: Int

Offset of the top edge of the screen in pixels.

Link copied to clipboard
val width: Int

The width of the screen in pixels.

Link copied to clipboard

Specifies the screen's work area. Default is entire screen.

Functions

Link copied to clipboard