public static interface GesturePlanner.GesturePlannerListener
Modifier and Type | Method and Description |
---|---|
void |
moveTo(int x,
int y)
Called when the finger moves to a point along the gesture trajectory.
|
void |
release(int x,
int y)
Called when the finger ends with the finger release.
|
void |
start(int x,
int y,
boolean longPress)
Called when the gesture starts with a press or a long press.
|
void |
waitMillis(long ms)
Called when a wait between two subsequent steps is suggested.
|
void start(int x, int y, boolean longPress)
x
- the press X-coordinate.y
- the press Y-coordinate.longPress
- true for long press or false for a regular one.void moveTo(int x, int y)
x
- the target X-coordinate.y
- the target Y-coordinate.void waitMillis(long ms)
ms
- the number of milliseconds to wait.void release(int x, int y)
x
- the finger release X-coordinate.y
- the finger release Y-coordinate.