public static enum SoundSource.Status extends Enum<SoundSource.Status>
Enum Constant and Description |
---|
PAUSED
Indicates that the sound is currently paused and can be resumed.
|
PLAYING
Indicates that the sound is currently playing.
|
STOPPED
Indicates that the sound is currently stopped or has finished playing.
|
Modifier and Type | Method and Description |
---|---|
static SoundSource.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SoundSource.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoundSource.Status STOPPED
public static final SoundSource.Status PAUSED
public static final SoundSource.Status PLAYING
public static SoundSource.Status[] values()
for (SoundSource.Status c : SoundSource.Status.values()) System.out.println(c);
public static SoundSource.Status 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