public enum PlayState extends Enum<PlayState>
| Enum Constant and Description |
|---|
COMPLETED
A Playable which is completed and no longer running.
|
PAUSED
A Playable which has been paused.
|
PENDING
A Playable which has not been started.
|
RUNNING
A Playable which is currently running.
|
STOPPED
A Playable which has been stopped before completion.
|
| Modifier and Type | Method and Description |
|---|---|
static PlayState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayState PENDING
public static final PlayState RUNNING
public static final PlayState PAUSED
public static final PlayState STOPPED
public static final PlayState COMPLETED
public static PlayState[] values()
for (PlayState c : PlayState.values()) System.out.println(c);
public static PlayState 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 © 2011-2014. All Rights Reserved.