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