public static enum PlayerStateEvent.PlayerState extends java.lang.Enum<PlayerStateEvent.PlayerState>
Enum Constant and Description |
---|
FINISHED |
HALTED |
PAUSED |
PLAYING |
READY |
STALLED |
STOPPED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static PlayerStateEvent.PlayerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlayerStateEvent.PlayerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerStateEvent.PlayerState UNKNOWN
public static final PlayerStateEvent.PlayerState READY
public static final PlayerStateEvent.PlayerState PLAYING
public static final PlayerStateEvent.PlayerState PAUSED
public static final PlayerStateEvent.PlayerState STOPPED
public static final PlayerStateEvent.PlayerState STALLED
public static final PlayerStateEvent.PlayerState FINISHED
public static final PlayerStateEvent.PlayerState HALTED
public static PlayerStateEvent.PlayerState[] values()
for (PlayerStateEvent.PlayerState c : PlayerStateEvent.PlayerState.values()) System.out.println(c);
public static PlayerStateEvent.PlayerState 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