com.adobe.mediacore
Enum MediaPlayerState
java.lang.Object
java.lang.Enum<MediaPlayerState>
com.adobe.mediacore.MediaPlayerState
- All Implemented Interfaces:
- Serializable, Comparable<MediaPlayerState>
public enum MediaPlayerState
- extends Enum<MediaPlayerState>
Possible values for video engine state.
IDLE
public static final MediaPlayerState IDLE
PLAY
public static final MediaPlayerState PLAY
PAUSE
public static final MediaPlayerState PAUSE
SEEKING
public static final MediaPlayerState SEEKING
COMPLETE
public static final MediaPlayerState COMPLETE
ERROR
public static final MediaPlayerState ERROR
values
public static MediaPlayerState[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MediaPlayerState c : MediaPlayerState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MediaPlayerState valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null