SynthesizeTapGestureRequest

data class SynthesizeTapGestureRequest(x: Double, y: Double, duration: Int?, tapCount: Int?, gestureSourceType: GestureSourceType?)

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.

See also

Constructors

SynthesizeTapGestureRequest
Link copied to clipboard
fun SynthesizeTapGestureRequest(x: Double, y: Double, duration: Int? = null, tapCount: Int? = null, gestureSourceType: GestureSourceType? = null)

Properties

duration
Link copied to clipboard
val duration: Int? = null
Duration between touchdown and touchup events in ms (default: 50).
gestureSourceType
Link copied to clipboard
val gestureSourceType: GestureSourceType? = null
Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).
tapCount
Link copied to clipboard
val tapCount: Int? = null
Number of times to perform the tap (e.g.
x
Link copied to clipboard
val x: Double
X coordinate of the start of the gesture in CSS pixels.
y
Link copied to clipboard
val y: Double
Y coordinate of the start of the gesture in CSS pixels.

Sources

jvm source
Link copied to clipboard