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

Swipe

enum Swipe : 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 functions

From class androidx.test.espresso.action.Swiper
abstract Any!
sendSwipe(
    uiController: UiController!,
    startCoordinates: FloatArray!,
    endCoordinates: FloatArray!,
    precision: FloatArray!
)

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

Enum Values

FAST

val Swipe.FASTSwipe

Swipes quickly between the co-ordinates.

SLOW

val Swipe.SLOWSwipe

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

Public constructors

Swipe

Swipe()