Package limn.video
Enum Class MediaPlayer.Step
- All Implemented Interfaces:
Serializable,Comparable<MediaPlayer.Step>,Constable
- Enclosing class:
MediaPlayer
What one pass of the decode loop did: what a host driving it needs to know to pace itself.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic MediaPlayer.StepReturns the enum constant of this class with the specified name.static MediaPlayer.Step[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRODUCED
A picture reached the ring. Call again straight away. -
IDLE
Nothing to do this instant: the ring is full, or the stream has no picture ready. Wait. -
DONE
Nothing more is coming from where the stream is now: it ended, the player stopped, or a decode threw. Not permanent (a seek, or looping being switched on, makes production resume), so a host driving this itself waits and asks again rather than giving up its thread. OnlyMediaPlayer.close()ends it for good.
-
-
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
-