private static enum AudioPlayer.State extends Enum<AudioPlayer.State>
| Enum Constant and Description |
|---|
INITIALIZING |
INTERRUPTED |
NOTPLAYING |
PAUSED |
PLAYING |
| Modifier and Type | Method and Description |
|---|---|
static AudioPlayer.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AudioPlayer.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioPlayer.State INITIALIZING
public static final AudioPlayer.State NOTPLAYING
public static final AudioPlayer.State PLAYING
public static final AudioPlayer.State PAUSED
public static final AudioPlayer.State INTERRUPTED
public static AudioPlayer.State[] values()
for (AudioPlayer.State c : AudioPlayer.State.values()) System.out.println(c);
public static AudioPlayer.State 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 null