public static enum Swiper.Status extends java.lang.Enum<Swiper.Status>
Enum Constant and Description |
---|
FAILURE
Injecting the event was a complete failure.
|
SUCCESS
The swipe action completed successfully.
|
Modifier and Type | Method and Description |
---|---|
static Swiper.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Swiper.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Swiper.Status SUCCESS
public static final Swiper.Status FAILURE
public static Swiper.Status[] values()
for (Swiper.Status c : Swiper.Status.values()) System.out.println(c);
public static Swiper.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null