{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

Swipe

enum Swipe implements Swiper


Executes different swipe types to given positions.

Summary

Enum Values

FAST

Swipes quickly between the co-ordinates.

SLOW

Swipes deliberately slowly between the co-ordinates, to aid in visual debugging.

Public constructors

Inherited methods

From class androidx.test.espresso.action.Swiper
abstract Object
sendSwipe(
    UiController uiController,
    float[] startCoordinates,
    float[] endCoordinates,
    float[] precision
)

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

Enum Values

FAST

Swipe Swipe.FAST

Swipes quickly between the co-ordinates.

SLOW

Swipe Swipe.SLOW

Swipes deliberately slowly between the co-ordinates, to aid in visual debugging.

Public constructors

Swipe

public final Swipe()