AddScreenParameter

@Serializable
data class AddScreenParameter(val left: Int, val top: Int, val width: Int, val height: Int, val workAreaInsets: Emulation.WorkAreaInsets? = null, val devicePixelRatio: Double? = null, val rotation: Int? = null, val colorDepth: Int? = null, val label: String? = null, val isInternal: Boolean? = null)

Constructors

Link copied to clipboard
constructor(left: Int, top: Int, width: Int, height: Int, workAreaInsets: Emulation.WorkAreaInsets? = null, devicePixelRatio: Double? = null, rotation: Int? = null, colorDepth: Int? = null, label: String? = null, isInternal: Boolean? = null)

Properties

Link copied to clipboard
val colorDepth: Int? = null

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
val isInternal: Boolean? = null

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

Link copied to clipboard
val label: String? = null

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
val rotation: Int? = null

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.