-
public final class DispatchTouchEventRequestRequest object containing input parameters for the InputDomain.dispatchTouchEvent command.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final List<TouchPoint>touchPointsprivate final Integermodifiersprivate final Doubletimestamp
-
Constructor Summary
Constructors Constructor Description DispatchTouchEventRequest(String type, List<TouchPoint> touchPoints, Integer modifiers, Double timestamp)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final List<TouchPoint>component2()final Integercomponent3()final Doublecomponent4()final DispatchTouchEventRequestcopy(String type, List<TouchPoint> touchPoints, Integer modifiers, Double timestamp)final StringgetType()Type of the touch event. final List<TouchPoint>getTouchPoints()Active touch points on the touch device. final IntegergetModifiers()Bit field representing pressed modifier keys. final DoublegetTimestamp()Time at which the event occurred. -
-
Constructor Detail
-
DispatchTouchEventRequest
DispatchTouchEventRequest(String type, List<TouchPoint> touchPoints, Integer modifiers, Double timestamp)
-
-
Method Detail
-
component1
final String component1()
-
component2
final List<TouchPoint> component2()
-
component3
final Integer component3()
-
component4
final Double component4()
-
copy
final DispatchTouchEventRequest copy(String type, List<TouchPoint> touchPoints, Integer modifiers, Double timestamp)
-
getType
final String getType()
Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one.
-
getTouchPoints
final List<TouchPoint> getTouchPoints()
Active touch points on the touch device. One event per any changed point (compared to previous touch event in a sequence) is generated, emulating pressing/moving/releasing points one by one.
-
getModifiers
final Integer getModifiers()
Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).
-
getTimestamp
final Double getTimestamp()
Time at which the event occurred.
-
-
-
-