- All Implemented Interfaces:
Serializable
,Comparable<Status>
,Constable
Enumeration describing the different status values of a media player.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionState of the player after dispose() method is invokedState of the player when playback is pausedState of the player when it is currently playingState of the player once it is prepared to playState of the player when playback has stoppedState of the player immediately after creation -
Method Summary
-
Enum Constant Details
-
UNKNOWN
State of the player immediately after creation -
READY
State of the player once it is prepared to play -
PAUSED
State of the player when playback is paused -
PLAYING
State of the player when it is currently playing -
STOPPED
State of the player when playback has stopped -
DISPOSED
State of the player after dispose() method is invoked
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-