Press


enum Press : PrecisionDescriber


Returns different touch target sizes.

Summary

Enum Values

FINGER
PINPOINT
THUMB

Public functions

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

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

java-static Array<Press!>!

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

Inherited functions

From androidx.test.espresso.action.PrecisionDescriber
abstract FloatArray<Float>!

Different touch target sizes.

Enum Values

FINGER

val Press.FINGERPress

PINPOINT

val Press.PINPOINTPress

THUMB

val Press.THUMBPress

Public functions

valueOf

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

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
Press!

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<Press!>!

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<Press!>!

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