DispatchTouchEventRequest

data class DispatchTouchEventRequest(type: String, touchPoints: List<TouchPoint>, modifiers: Int?, timestamp: TimeSinceEpoch?)

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

Dispatches a touch event to the page.

See also

Constructors

DispatchTouchEventRequest
Link copied to clipboard
fun DispatchTouchEventRequest(type: String, touchPoints: List<TouchPoint>, modifiers: Int? = null, timestamp: TimeSinceEpoch? = null)

Properties

modifiers
Link copied to clipboard
val modifiers: Int? = null
Bit field representing pressed modifier keys.
timestamp
Link copied to clipboard
val timestamp: TimeSinceEpoch? = null
Time at which the event occurred.
touchPoints
Link copied to clipboard
val touchPoints: List<TouchPoint>
Active touch points on the touch device.
type
Link copied to clipboard
val type: String
Type of the touch event.

Sources

jvm source
Link copied to clipboard