data class SynthesizeScrollGestureRequest
(source)
Represents request frame that can be used with Input#synthesizeScrollGesture operation call.
Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
Link
Input#synthesizeScrollGesture method documentation.
See Also
InputOperations.synthesizeScrollGesture
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)
Represents request frame that can be used with Input#synthesizeScrollGesture operation call. |
val gestureSourceType: GestureSourceType?
Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type). |
|
val interactionMarkerName: String?
The name of the interaction markers to generate, if not empty (default: ""). |
|
val preventFling: Boolean?
Prevent fling (default: true). |
|
val repeatCount: Int?
The number of times to repeat the gesture (default: 0). |
|
val repeatDelayMs: Int?
The number of milliseconds delay between each repeat. (default: 250). |
|
val speed: Int?
Swipe speed in pixels per second (default: 800). |
|
val x: Double
X coordinate of the start of the gesture in CSS pixels. |
|
val xDistance: Double?
The distance to scroll along the X axis (positive to scroll left). |
|
val xOverscroll: Double?
The number of additional pixels to scroll back along the X axis, in addition to the given distance. |
|
val y: Double
Y coordinate of the start of the gesture in CSS pixels. |
|
val yDistance: Double?
The distance to scroll along the Y axis (positive to scroll up). |
|
val yOverscroll: Double?
The number of additional pixels to scroll back along the Y axis, in addition to the given distance. |