Skip to content

Most visited

Recently visited

navigation

Swiper

public interface Swiper

android.support.test.espresso.action.Swiper
Known Indirect Subclasses


Interface to implement different swipe types.

Summary

Nested classes

enum Swiper.Status

The result of the swipe. 

Public methods

abstract Swiper.Status sendSwipe(UiController uiController, float[] startCoordinates, float[] endCoordinates, float[] precision)

Swipes from startCoordinates to endCoordinates using the given uiController to send MotionEvents.

Public methods

sendSwipe

Swiper.Status sendSwipe (UiController uiController, 
                float[] startCoordinates, 
                float[] endCoordinates, 
                float[] precision)

Swipes from startCoordinates to endCoordinates using the given uiController to send MotionEvents.

Parameters
uiController UiController: a UiController to use to send MotionEvents to the screen.
startCoordinates float: a float[] with x and y co-ordinates of the start of the swipe.
endCoordinates float: a float[] with x and y co-ordinates of the end of the swipe.
precision float: a float[] with x and y values of precision of the tap.
Returns
Swiper.Status The status of the swipe.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.