- since: v1.9
- langs: js
- since: v1.9
Performs a drag between [param: from] and [param: to] points.
- since: v1.9
from<[Object]>x<[float]>y<[float]>
The start point of the drag.
- since: v1.9
to<[Object]>x<[float]>y<[float]>
The end point of the drag.
- since: v1.9
steps<[int]>
The number of steps in the drag. Each step takes 5 milliseconds to complete.
- since: v1.9
Presses the [param: key].
- since: v1.9
key<[AndroidKey]>
Key to press.
- since: v1.9
Swipes following the path defined by [param: segments].
- since: v1.9
from<[Object]>x<[float]>y<[float]>
The point to start swiping from.
- since: v1.9
segments<[Array]<[Object]>>x<[float]>y<[float]>
Points following the [param: from] point in the swipe gesture.
- since: v1.9
steps<[int]>
The number of steps for each segment. Each step takes 5 milliseconds to complete, so 100 steps means half a second per each segment.
- since: v1.9
Taps at the specified [param: point].
- since: v1.9
point<[Object]>x<[float]>y<[float]>
The point to tap at.
- since: v1.9
Types [param: text] into currently focused widget.
- since: v1.9
text<[string]>
Text to type.