public enum SoundState extends java.lang.Enum<SoundState>
Enum Constant and Description |
---|
Paused
The SoundEffectInstance is paused.
|
Playing
The SoundEffectInstance is playing.
|
Stopped
The SoundEffectInstance is stopped.
|
Modifier and Type | Method and Description |
---|---|
static SoundState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoundState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoundState Playing
public static final SoundState Paused
public static final SoundState Stopped
public static SoundState[] values()
for (SoundState c : SoundState.values()) System.out.println(c);
public static SoundState 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