Enum VideoStreamResolution
- Object
-
- Enum<VideoStreamResolution>
-
- 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 resolutionHD
Represents 1280x720 resolutionP1080
Represents 1920x1080 resolutionP180
Represents 320x180 resolutionP240
Represents 352x240 resolutionP270
Represents 480x270 resolutionP360
Represents 640x360 resolutionP480
Represents 858x480 resolutionP540
Represents 960x540 resolutionP720
Represents 1280x720 resolutionQVGA
Represents 320x240 resolutionUNKNOWN
Represents unknown resolutionVGA
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.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final VideoStreamResolution UNKNOWN
Represents unknown resolution
-
P1080
public static final VideoStreamResolution P1080
Represents 1920x1080 resolution
-
P720
public static final VideoStreamResolution P720
Represents 1280x720 resolution
-
P540
public static final VideoStreamResolution P540
Represents 960x540 resolution
-
P480
public static final VideoStreamResolution P480
Represents 858x480 resolution
-
P360
public static final VideoStreamResolution P360
Represents 640x360 resolution
-
P270
public static final VideoStreamResolution P270
Represents 480x270 resolution
-
P240
public static final VideoStreamResolution P240
Represents 352x240 resolution
-
P180
public static final VideoStreamResolution P180
Represents 320x180 resolution
-
FULL_HD
public static final VideoStreamResolution FULL_HD
Represents 1920x1080 resolution
-
HD
public static final VideoStreamResolution HD
Represents 1280x720 resolution
-
VGA
public static final VideoStreamResolution VGA
Represents 640x480 resolution
-
QVGA
public static final VideoStreamResolution QVGA
Represents 320x240 resolution
-
-
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 nameNullPointerException
- if the argument is null
-
-