public static enum StdAudio.AudioEvent.Type extends Enum<StdAudio.AudioEvent.Type>
Enum Constant and Description |
---|
LOOP |
MUTE |
PAUSE |
PLAY |
STOP |
UNMUTE |
UNPAUSE |
Modifier and Type | Method and Description |
---|---|
static StdAudio.AudioEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StdAudio.AudioEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StdAudio.AudioEvent.Type PLAY
public static final StdAudio.AudioEvent.Type LOOP
public static final StdAudio.AudioEvent.Type PAUSE
public static final StdAudio.AudioEvent.Type UNPAUSE
public static final StdAudio.AudioEvent.Type STOP
public static final StdAudio.AudioEvent.Type MUTE
public static final StdAudio.AudioEvent.Type UNMUTE
public static StdAudio.AudioEvent.Type[] values()
for (StdAudio.AudioEvent.Type c : StdAudio.AudioEvent.Type.values()) System.out.println(c);
public static StdAudio.AudioEvent.Type 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