public static enum PlayStateEvent.State extends Enum<PlayStateEvent.State>
Enum Constant and Description |
---|
Finished
Media playback has finished
|
Paused
Media playback is currently paused
|
Started
Media playback has started
|
Stopped
Media playback is currently stopped
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final PlayStateEvent.State Started
public static final PlayStateEvent.State Finished
public static final PlayStateEvent.State Paused
public static final PlayStateEvent.State Stopped
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 nameNullPointerException
- if the argument is nullCopyright © 2009-2013. All Rights Reserved.