public enum Action extends Enum<Action>
Action types.| Enum Constant and Description |
|---|
INTERRUPTING_PLAYBACK |
PAUSING |
RESUMING |
SEEKING |
SKIPPING_NEXT |
SKIPPING_PREV |
TOGGLING_REPEAT_CONTEXT |
TOGGLING_REPEAT_TRACK |
TOGGLING_SHUFFLE |
TRANSFERRING_PLAYBACK |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Get the
Action key as a string. |
static Action |
keyOf(String key) |
static Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Action INTERRUPTING_PLAYBACK
public static final Action PAUSING
public static final Action RESUMING
public static final Action SEEKING
public static final Action SKIPPING_NEXT
public static final Action SKIPPING_PREV
public static final Action TOGGLING_REPEAT_CONTEXT
public static final Action TOGGLING_SHUFFLE
public static final Action TOGGLING_REPEAT_TRACK
public static final Action TRANSFERRING_PLAYBACK
public final String key
public static Action[] values()
for (Action c : Action.values()) System.out.println(c);
public static Action valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.