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 functions

java-static Swipe!
valueOf(name: String!)

Returns the enum constant of this type with the specified name.

java-static Array<Swipe!>!

Returns an array containing the constants of this enum type, in the order they're declared.

Inherited functions

From androidx.test.espresso.action.Swiper
abstract Swiper.Status!
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 functions

valueOf

java-static fun valueOf(name: String!): Swipe!

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
Swipe!

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

java-static fun values(): Array<Swipe!>!

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
Array<Swipe!>!

an array containing the constants of this enum type, in the order they're declared