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