public static enum Constants.VideoFrameCaptureType extends java.lang.Enum<Constants.VideoFrameCaptureType>
| Enum Constant and Description |
|---|
VIDEO_FORMAT_ENCODED_FRAME_TYPE
1: Encoded video frame.
|
VIDEO_FORMAT_JPG_FILE_TYPE
4: JPG file saved to disk.
|
VIDEO_FORMAT_JPG_FRAME_TYPE
3: JPG video frame (in-memory).
|
VIDEO_FORMAT_YUV_FRAME_TYPE
2: YUV video frame.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.VideoFrameCaptureType |
fromInt(int value) |
int |
getValue() |
static Constants.VideoFrameCaptureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.VideoFrameCaptureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.VideoFrameCaptureType VIDEO_FORMAT_ENCODED_FRAME_TYPE
public static final Constants.VideoFrameCaptureType VIDEO_FORMAT_YUV_FRAME_TYPE
public static final Constants.VideoFrameCaptureType VIDEO_FORMAT_JPG_FRAME_TYPE
public static final Constants.VideoFrameCaptureType VIDEO_FORMAT_JPG_FILE_TYPE
public static Constants.VideoFrameCaptureType[] values()
for (Constants.VideoFrameCaptureType c : Constants.VideoFrameCaptureType.values()) System.out.println(c);
public static Constants.VideoFrameCaptureType 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.VideoFrameCaptureType fromInt(int value)