Enum VideoIssue
- Object
-
- Enum<VideoIssue>
-
- VideoIssue
-
- All Implemented Interfaces:
Serializable
,Comparable<VideoIssue>
public enum VideoIssue extends Enum<VideoIssue>
Possible values for common video issues
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUDIO_VIDEO_OUT_OF_SYNC
DARK_VIDEO_RECEIVED
FREEZES
LOW_QUALITY
NO_VIDEO_RECEIVED
NO_VIDEO_SENT
NONE
OTHER_ISSUES
STOPPED_UNEXPECTEDLY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VideoIssue
valueOf(String name)
Returns the enum constant of this type with the specified name.static VideoIssue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final VideoIssue NONE
-
NO_VIDEO_RECEIVED
public static final VideoIssue NO_VIDEO_RECEIVED
-
NO_VIDEO_SENT
public static final VideoIssue NO_VIDEO_SENT
-
LOW_QUALITY
public static final VideoIssue LOW_QUALITY
-
FREEZES
public static final VideoIssue FREEZES
-
STOPPED_UNEXPECTEDLY
public static final VideoIssue STOPPED_UNEXPECTEDLY
-
DARK_VIDEO_RECEIVED
public static final VideoIssue DARK_VIDEO_RECEIVED
-
AUDIO_VIDEO_OUT_OF_SYNC
public static final VideoIssue AUDIO_VIDEO_OUT_OF_SYNC
-
OTHER_ISSUES
public static final VideoIssue OTHER_ISSUES
-
-
Method Detail
-
values
public static VideoIssue[] 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 (VideoIssue c : VideoIssue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VideoIssue 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
-
-