public enum AudioState extends java.lang.Enum<AudioState>
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getStateName() |
static AudioState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AudioState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioState MUTED
public static final AudioState ON
public static final AudioState DEFAULT
public static AudioState[] values()
for (AudioState c : AudioState.values()) System.out.println(c);
public static AudioState 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 nullpublic java.lang.String getStateName()