SetTouchEmulationEnabledRequest

@Serializable
data class SetTouchEmulationEnabledRequest(val enabled: Boolean, val maxTouchPoints: Int? = null)

Request object containing input parameters for the EmulationDomain.setTouchEmulationEnabled command.

Constructors

Link copied to clipboard
constructor(enabled: Boolean, maxTouchPoints: Int? = null)

Types

Link copied to clipboard
class Builder(val enabled: Boolean)

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

Properties

Link copied to clipboard

Whether the touch event emulation should be enabled.

Link copied to clipboard
val maxTouchPoints: Int? = null

Maximum touch points supported. Defaults to one.