|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PlayStateEvent.State>
com.bramosystems.oss.player.core.event.client.PlayStateEvent.State
public static enum PlayStateEvent.State
An enum of playback states
Enum Constant Summary | |
---|---|
Finished
Media playback has finished |
|
Paused
Media playback is currently paused |
|
Started
Media playback has started |
|
Stopped
Media playback is currently stopped |
Method Summary | |
---|---|
static PlayStateEvent.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PlayStateEvent.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PlayStateEvent.State Started
public static final PlayStateEvent.State Finished
public static final PlayStateEvent.State Paused
public static final PlayStateEvent.State Stopped
Method Detail |
---|
public static PlayStateEvent.State[] values()
for (PlayStateEvent.State c : PlayStateEvent.State.values()) System.out.println(c);
public static PlayStateEvent.State valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |