data class SynthesizeScrollGestureRequest
Request object containing input parameters for the InputDomain.synthesizeScrollGesture command.
<init> |
Request object containing input parameters for the InputDomain.synthesizeScrollGesture command. SynthesizeScrollGestureRequest(x: Double, y: Double, xDistance: Double? = null, yDistance: Double? = null, xOverscroll: Double? = null, yOverscroll: Double? = null, preventFling: Boolean? = null, speed: Int? = null, gestureSourceType: GestureSourceType? = null, repeatCount: Int? = null, repeatDelayMs: Int? = null, interactionMarkerName: String? = null) |
gestureSourceType |
Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type). val gestureSourceType: GestureSourceType? |
interactionMarkerName |
The name of the interaction markers to generate, if not empty (default: ""). val interactionMarkerName: String? |
preventFling |
Prevent fling (default: true). val preventFling: Boolean? |
repeatCount |
The number of times to repeat the gesture (default: 0). val repeatCount: Int? |
repeatDelayMs |
The number of milliseconds delay between each repeat. (default: 250). val repeatDelayMs: Int? |
speed |
Swipe speed in pixels per second (default: 800). val speed: Int? |
x |
X coordinate of the start of the gesture in CSS pixels. val x: Double |
xDistance |
The distance to scroll along the X axis (positive to scroll left). val xDistance: Double? |
xOverscroll |
The number of additional pixels to scroll back along the X axis, in addition to the given distance. val xOverscroll: Double? |
y |
Y coordinate of the start of the gesture in CSS pixels. val y: Double |
yDistance |
The distance to scroll along the Y axis (positive to scroll up). val yDistance: Double? |
yOverscroll |
The number of additional pixels to scroll back along the Y axis, in addition to the given distance. val yOverscroll: Double? |