public interface Swiper
Modifier and Type | Interface and Description |
---|---|
static class |
Swiper.Status
The result of the swipe.
|
Modifier and Type | Method and Description |
---|---|
Swiper.Status |
sendSwipe(UiController uiController,
float[] startCoordinates,
float[] endCoordinates,
float[] precision)
Swipes from
startCoordinates to endCoordinates using the given
uiController to send MotionEvent s. |
Swiper.Status sendSwipe(UiController uiController, float[] startCoordinates, float[] endCoordinates, float[] precision)
startCoordinates
to endCoordinates
using the given
uiController
to send MotionEvent
s.uiController
- a UiController to use to send MotionEvents to the screen.startCoordinates
- a float[] with x and y co-ordinates of the start of the swipe.endCoordinates
- a float[] with x and y co-ordinates of the end of the swipe.precision
- a float[] with x and y values of precision of the tap.