public static enum AlSource.State extends java.lang.Enum<AlSource.State>
| Modifier and Type | Method and Description |
|---|---|
static AlSource.State |
fromInt(int state) |
int |
getValue() |
static AlSource.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlSource.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlSource.State INITIAL
public static final AlSource.State PLAYING
public static final AlSource.State PAUSED
public static final AlSource.State STOPPED
public static AlSource.State[] values()
for (AlSource.State c : AlSource.State.values()) System.out.println(c);
public static AlSource.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 nullpublic int getValue()
public static AlSource.State fromInt(int state)