|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MediaPlayer.PlayerState>
com.adobe.mediacore.MediaPlayer.PlayerState
public static enum MediaPlayer.PlayerState
The player status.
Enum Constant Summary | |
---|---|
COMPLETE
The end of the stream was reached and the playback is stopped. |
|
ERROR
An error has occurred and the playback is currently stopped. |
|
IDLE
The player was created and is waiting for a media player item to be specified. |
|
INITIALIZED
The media player item was loaded. |
|
INITIALIZING
The media player is loading the media player item. |
|
PAUSED
The playback was paused. |
|
PLAYING
The playback is currently in progress. |
|
PREPARED
The media player item was loaded successfully and the player can start buffering data. |
|
PREPARING
The media player is loading any associated resources. |
|
READY
The media player has buffered enough data to start playing immediately. |
|
RELEASED
The media player has been released together with any associated resources. |
Method Summary | |
---|---|
static MediaPlayer.PlayerState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MediaPlayer.PlayerState[] |
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 MediaPlayer.PlayerState IDLE
public static final MediaPlayer.PlayerState INITIALIZING
public static final MediaPlayer.PlayerState INITIALIZED
public static final MediaPlayer.PlayerState PREPARING
public static final MediaPlayer.PlayerState PREPARED
public static final MediaPlayer.PlayerState READY
public static final MediaPlayer.PlayerState PLAYING
public static final MediaPlayer.PlayerState PAUSED
public static final MediaPlayer.PlayerState COMPLETE
public static final MediaPlayer.PlayerState ERROR
public static final MediaPlayer.PlayerState RELEASED
Method Detail |
---|
public static MediaPlayer.PlayerState[] values()
for (MediaPlayer.PlayerState c : MediaPlayer.PlayerState.values()) System.out.println(c);
public static MediaPlayer.PlayerState 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 |