Swiper.Status

public enum Swiper.Status


The result of the swipe.

Summary

Enum Values

FAILURE

Injecting the event was a complete failure.

SUCCESS

The swipe action completed successfully.

Public constructors

Public methods

static Swiper.Status

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

static Swiper.Status[]

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

Enum Values

FAILURE

Swiper.Status Swiper.Status.FAILURE

Injecting the event was a complete failure.

SUCCESS

Swiper.Status Swiper.Status.SUCCESS

The swipe action completed successfully.

Public constructors

Status

public Status()

Public methods

valueOf

public static Swiper.Status valueOf(String name)

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
Swiper.Status

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

public static Swiper.Status[] values()

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
Swiper.Status[]

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