public static enum Constants.VideoFrameType extends java.lang.Enum<Constants.VideoFrameType>
| Enum Constant and Description |
|---|
VIDEO_FRAME_TYPE_B_FRAME
5: B frame.
|
VIDEO_FRAME_TYPE_BLANK_FRAME
0: A black frame.
|
VIDEO_FRAME_TYPE_DELTA_FRAME
4: Delta frame.
|
VIDEO_FRAME_TYPE_DROPPABLE_FRAME
6: A discarded frame.
|
VIDEO_FRAME_TYPE_KEY_FRAME
3: Key frame.
|
VIDEO_FRAME_TYPE_UNKNOW
7: Unknown frame.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.VideoFrameType |
fromInt(int value) |
int |
getValue() |
static Constants.VideoFrameType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.VideoFrameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.VideoFrameType VIDEO_FRAME_TYPE_BLANK_FRAME
public static final Constants.VideoFrameType VIDEO_FRAME_TYPE_KEY_FRAME
public static final Constants.VideoFrameType VIDEO_FRAME_TYPE_DELTA_FRAME
public static final Constants.VideoFrameType VIDEO_FRAME_TYPE_B_FRAME
public static final Constants.VideoFrameType VIDEO_FRAME_TYPE_DROPPABLE_FRAME
public static final Constants.VideoFrameType VIDEO_FRAME_TYPE_UNKNOW
public static Constants.VideoFrameType[] values()
for (Constants.VideoFrameType c : Constants.VideoFrameType.values()) System.out.println(c);
public static Constants.VideoFrameType 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 int getValue()
public static Constants.VideoFrameType fromInt(int value)