Package ai.nexconn.call.api
Enum Class NCCallVideoResolution
- All Implemented Interfaces:
Serializable,Comparable<NCCallVideoResolution>,Constable
Video resolution levels.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInvalid value. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the resolution height.getLabel()Returns the resolution label, for example `480x640`.intReturns the recommended maximum bitrate in kbps.intReturns the recommended minimum bitrate in kbps.static NCCallVideoResolutiongetVideoResolution(int width, int height) Finds the best match for the specified resolution size.static NCCallVideoResolutiongetVideoResolution(String videoProfileLabel) Looks up the matching enum value from a string.intgetWidth()Returns the resolution width.static NCCallVideoResolutionparseVideoResolution(int width, int height) Returns the matching enum constant for the given width and height.toString()static NCCallVideoResolutionReturns the enum constant of this class with the specified name.static NCCallVideoResolution[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
RESOLUTION_INVALID
Invalid value. -
RESOLUTION_144_176
-
RESOLUTION_144_256
-
RESOLUTION_180_180
-
RESOLUTION_180_240
-
RESOLUTION_180_320
-
RESOLUTION_240_240
-
RESOLUTION_240_320
-
RESOLUTION_360_360
-
RESOLUTION_360_480
-
RESOLUTION_360_640
-
RESOLUTION_480_480
-
RESOLUTION_480_640
-
RESOLUTION_480_848
-
RESOLUTION_480_720
-
RESOLUTION_720_960
-
RESOLUTION_720_1280
-
RESOLUTION_1080_1920
-
-
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
-
getWidth
public int getWidth()Returns the resolution width. -
getHeight
public int getHeight()Returns the resolution height. -
getMinBitRate
public int getMinBitRate()Returns the recommended minimum bitrate in kbps. -
getMaxBitRate
public int getMaxBitRate()Returns the recommended maximum bitrate in kbps. -
getLabel
Returns the resolution label, for example `480x640`. -
parseVideoResolution
Returns the matching enum constant for the given width and height. -
getVideoResolution
Looks up the matching enum value from a string. A typical value is `VD_480x640_15f`; matching `480x640` is required and case-insensitive. -
getVideoResolution
Finds the best match for the specified resolution size. -
toString
- Overrides:
toStringin classEnum<NCCallVideoResolution>
-