public enum UserInteractionKind extends java.lang.Enum<UserInteractionKind>
| Enum Constant and Description |
|---|
USER_INTERACTION_BUTTON_DOUBLE_PRESSED
A quick double tap event, also known as double click
|
USER_INTERACTION_BUTTON_LONG_PRESSED
A single long tap event
|
USER_INTERACTION_BUTTON_PRESSED
A single tap event, also known as click
|
| Modifier and Type | Field and Description |
|---|---|
int |
kind |
| Modifier and Type | Method and Description |
|---|---|
static UserInteractionKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserInteractionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserInteractionKind USER_INTERACTION_BUTTON_PRESSED
public static final UserInteractionKind USER_INTERACTION_BUTTON_LONG_PRESSED
public static final UserInteractionKind USER_INTERACTION_BUTTON_DOUBLE_PRESSED
public static UserInteractionKind[] values()
for (UserInteractionKind c : UserInteractionKind.values()) System.out.println(c);
public static UserInteractionKind 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