Package com.jogamp.opengl.util.av
Enum GLMediaPlayer.EventMask.Bit
- java.lang.Object
-
- java.lang.Enum<GLMediaPlayer.EventMask.Bit>
-
- com.jogamp.opengl.util.av.GLMediaPlayer.EventMask.Bit
-
- All Implemented Interfaces:
Serializable
,Comparable<GLMediaPlayer.EventMask.Bit>
- Enclosing class:
- GLMediaPlayer.EventMask
public static enum GLMediaPlayer.EventMask.Bit extends Enum<GLMediaPlayer.EventMask.Bit>
Attribute change bits
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AID
Stream audio id change.BPS
Stream bps change.Codec
Stream codec change.EOS
End of stream reached.Error
An error occurred, e.g.FPS
Stream fps change.Init
State changed toGLMediaPlayer.State.Initialized
.Length
Stream length change.Pause
State changed toGLMediaPlayer.State.Paused
.Play
State changed toGLMediaPlayer.State.Playing
.Size
TextureFrame size or vertical flip change.Uninit
State changed toGLMediaPlayer.State.Uninitialized
.VID
Stream video id change.
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GLMediaPlayer.EventMask.Bit
valueOf(String name)
Returns the enum constant of this type with the specified name.static GLMediaPlayer.EventMask.Bit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Init
public static final GLMediaPlayer.EventMask.Bit Init
State changed toGLMediaPlayer.State.Initialized
. See Lifecycle.
-
Uninit
public static final GLMediaPlayer.EventMask.Bit Uninit
State changed toGLMediaPlayer.State.Uninitialized
. See Lifecycle.
-
Play
public static final GLMediaPlayer.EventMask.Bit Play
State changed toGLMediaPlayer.State.Playing
. See Lifecycle.
-
Pause
public static final GLMediaPlayer.EventMask.Bit Pause
State changed toGLMediaPlayer.State.Paused
. See Lifecycle.
-
EOS
public static final GLMediaPlayer.EventMask.Bit EOS
End of stream reached. See Lifecycle.
-
Error
public static final GLMediaPlayer.EventMask.Bit Error
An error occurred, e.g. during off-thread initialization. SeeGLMediaPlayer.StreamException
and Lifecycle.
-
VID
public static final GLMediaPlayer.EventMask.Bit VID
Stream video id change.
-
AID
public static final GLMediaPlayer.EventMask.Bit AID
Stream audio id change.
-
Size
public static final GLMediaPlayer.EventMask.Bit Size
TextureFrame size or vertical flip change.
-
FPS
public static final GLMediaPlayer.EventMask.Bit FPS
Stream fps change.
-
BPS
public static final GLMediaPlayer.EventMask.Bit BPS
Stream bps change.
-
Length
public static final GLMediaPlayer.EventMask.Bit Length
Stream length change.
-
Codec
public static final GLMediaPlayer.EventMask.Bit Codec
Stream codec change.
-
-
Method Detail
-
values
public static GLMediaPlayer.EventMask.Bit[] 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 (GLMediaPlayer.EventMask.Bit c : GLMediaPlayer.EventMask.Bit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GLMediaPlayer.EventMask.Bit 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 nameNullPointerException
- if the argument is null
-
-