public static enum GLMediaPlayer.State extends Enum<GLMediaPlayer.State>
Enum Constant and Description |
---|
Initialized
Stream has been initialized, user may play or call
GLMediaPlayer.initGL(GL) . |
Paused
Stream is pausing.
|
Playing
Stream is playing.
|
Uninitialized
Uninitialized player, no resources shall be hold.
|
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static GLMediaPlayer.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GLMediaPlayer.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GLMediaPlayer.State Uninitialized
public static final GLMediaPlayer.State Initialized
GLMediaPlayer.initGL(GL)
.public static final GLMediaPlayer.State Playing
public static final GLMediaPlayer.State Paused
public static GLMediaPlayer.State[] values()
for (GLMediaPlayer.State c : GLMediaPlayer.State.values()) System.out.println(c);
public static GLMediaPlayer.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 2010 JogAmp Community.