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:
  • Enum Constant Details

    • NONE

      public static final BaseVideoCapturer.VideoContentHint NONE
      No hint is provided (the default).
    • MOTION

      public static final BaseVideoCapturer.VideoContentHint MOTION
      The track should be treated as if it contains video where motion is important.
    • DETAIL

      public static final BaseVideoCapturer.VideoContentHint 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

      public static final BaseVideoCapturer.VideoContentHint 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

      public static BaseVideoCapturer.VideoContentHint[] 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

      public static BaseVideoCapturer.VideoContentHint valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • valueOf

      public static BaseVideoCapturer.VideoContentHint valueOf(int hintValue)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()