Enum VideoStreamResolution

  • All Implemented Interfaces:
    Serializable, Comparable<VideoStreamResolution>

    public enum VideoStreamResolution
    extends Enum<VideoStreamResolution>
    Represents the list of supported video resolution for VirtualOutgoingVideoStream
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      FULL_HD
      Represents 1920x1080 resolution
      HD
      Represents 1280x720 resolution
      P1080
      Represents 1920x1080 resolution
      P180
      Represents 320x180 resolution
      P240
      Represents 352x240 resolution
      P270
      Represents 480x270 resolution
      P360
      Represents 640x360 resolution
      P480
      Represents 858x480 resolution
      P540
      Represents 960x540 resolution
      P720
      Represents 1280x720 resolution
      QVGA
      Represents 320x240 resolution
      UNKNOWN
      Represents unknown resolution
      VGA
      Represents 640x480 resolution
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static VideoStreamResolution valueOf​(String name)
      Returns the enum constant of this type with the specified name.
      static VideoStreamResolution[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • values

        public static VideoStreamResolution[] 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 (VideoStreamResolution c : VideoStreamResolution.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VideoStreamResolution valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null