pl.wendigo.chrome.api.input / SynthesizeTapGestureRequest

SynthesizeTapGestureRequest

data class SynthesizeTapGestureRequest (source)

Represents request frame that can be used with Input#synthesizeTapGesture operation call.

Synthesizes a tap gesture over a time period by issuing appropriate touch events.

Link
Input#synthesizeTapGesture method documentation.

See Also

InputOperations.synthesizeTapGesture

Constructors

<init>

SynthesizeTapGestureRequest(x: Double, y: Double, duration: Int? = null, tapCount: Int? = null, gestureSourceType: GestureSourceType? = null)

Represents request frame that can be used with Input#synthesizeTapGesture operation call.

Properties

duration

val duration: Int?

Duration between touchdown and touchup events in ms (default: 50).

gestureSourceType

val gestureSourceType: GestureSourceType?

Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).

tapCount

val tapCount: Int?

Number of times to perform the tap (e.g. 2 for double tap, default: 1).

x

val x: Double

X coordinate of the start of the gesture in CSS pixels.

y

val y: Double

Y coordinate of the start of the gesture in CSS pixels.