public static enum BaseVideoCapturer.VideoContentHint extends java.lang.Enum<BaseVideoCapturer.VideoContentHint>
This is a beta feature.
You can read more about these options in the W3C Working Draft.
Enum Constant and Description |
---|
DETAIL
The track should be treated as if video details are extra important.
|
MOTION
The track should be treated as if it contains video where motion is important.
|
NONE
No hint is provided (the default).
|
TEXT
The track should be treated as if video details are extra important, and that significant
sharp edges and areas of consistent color can occur frequently.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static BaseVideoCapturer.VideoContentHint |
valueOf(int hintValue) |
static BaseVideoCapturer.VideoContentHint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaseVideoCapturer.VideoContentHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseVideoCapturer.VideoContentHint NONE
public static final BaseVideoCapturer.VideoContentHint MOTION
public static final BaseVideoCapturer.VideoContentHint DETAIL
public static final BaseVideoCapturer.VideoContentHint TEXT
public static BaseVideoCapturer.VideoContentHint[] values()
for (BaseVideoCapturer.VideoContentHint c : BaseVideoCapturer.VideoContentHint.values()) System.out.println(c);
public static BaseVideoCapturer.VideoContentHint 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 static BaseVideoCapturer.VideoContentHint valueOf(int hintValue)
public int getValue()