Enum BaseVideoCapturer.VideoContentHint

    • Enum Constant Summary

      Enum Constants 
      Enum Constant 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.
    • Enum Constant Detail

      • 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 Detail

      • values

        public static BaseVideoCapturer.VideoContentHint[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BaseVideoCapturer.VideoContentHint c : BaseVideoCapturer.VideoContentHint.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BaseVideoCapturer.VideoContentHint valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • valueOf

        public static BaseVideoCapturer.VideoContentHint valueOf​(int hintValue)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()