Package com.opentok.android
Enum Class BaseVideoCapturer.VideoContentHint
java.lang.Object
java.lang.Enum<BaseVideoCapturer.VideoContentHint>
com.opentok.android.BaseVideoCapturer.VideoContentHint
- All Implemented Interfaces:
Serializable
,Comparable<BaseVideoCapturer.VideoContentHint>
,Constable
- Enclosing class:
BaseVideoCapturer
public static enum BaseVideoCapturer.VideoContentHint
extends Enum<BaseVideoCapturer.VideoContentHint>
Defines the content hint settings for a video capturer.
You can read more about these options in the W3C Working Draft.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe track should be treated as if video details are extra important.The track should be treated as if it contains video where motion is important.No hint is provided (the default).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. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
valueOf
(int hintValue) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static BaseVideoCapturer.VideoContentHint[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No hint is provided (the default). -
MOTION
The track should be treated as if it contains video where motion is important. -
DETAIL
The track should be treated as if video details are extra important. For example, you may use this setting for a stream that contains text content, painting, or line art. -
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. For example, you may use this settting for a stream that contains text content.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
hintValue
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
-