public enum BufferFlag extends java.lang.Enum<BufferFlag> implements IntegerEnum
Buffer
.Enum Constant and Description |
---|
DELTA_UNIT
This unit cannot be decoded independently.
|
DISCONT
The
Buffer marks a discontinuity in the stream. |
GAP
The
Buffer has been created to fill a gap in the
stream and contains media neutral data (elements can switch to optimized code
path that ignores the buffer content). |
IN_CAPS
|
LAST |
PREROLL
The
Buffer is part of a preroll and should not be displayed. |
READONLY
The
Buffer is read-only. |
UNKNOWN
The value used for unknown native values
|
Modifier and Type | Method and Description |
---|---|
int |
intValue()
Get the integer value of the enum.
|
static BufferFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BufferFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BufferFlag READONLY
Buffer
is read-only.
This means the data of the buffer should not be modified. The metadata
might still be modified.public static final BufferFlag PREROLL
Buffer
is part of a preroll and should not be displayed.public static final BufferFlag DISCONT
Buffer
marks a discontinuity in the stream.
This typically occurs after a seek or a dropped buffer from a live or
network source.public static final BufferFlag IN_CAPS
public static final BufferFlag GAP
Buffer
has been created to fill a gap in the
stream and contains media neutral data (elements can switch to optimized code
path that ignores the buffer content).public static final BufferFlag DELTA_UNIT
public static final BufferFlag LAST
public static final BufferFlag UNKNOWN
public static BufferFlag[] values()
for (BufferFlag c : BufferFlag.values()) System.out.println(c);
public static BufferFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int intValue()
intValue
in interface IntegerEnum