Package edu.wpi.first.cscore
Enum VideoEvent.Kind
- java.lang.Object
-
- java.lang.Enum<VideoEvent.Kind>
-
- edu.wpi.first.cscore.VideoEvent.Kind
-
- All Implemented Interfaces:
Serializable
,Comparable<VideoEvent.Kind>
- Enclosing class:
- VideoEvent
public static enum VideoEvent.Kind extends Enum<VideoEvent.Kind>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static VideoEvent.Kind
valueOf(String name)
Returns the enum constant of this type with the specified name.static VideoEvent.Kind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
kUnknown
public static final VideoEvent.Kind kUnknown
-
kSourceCreated
public static final VideoEvent.Kind kSourceCreated
-
kSourceDestroyed
public static final VideoEvent.Kind kSourceDestroyed
-
kSourceConnected
public static final VideoEvent.Kind kSourceConnected
-
kSourceDisconnected
public static final VideoEvent.Kind kSourceDisconnected
-
kSourceVideoModesUpdated
public static final VideoEvent.Kind kSourceVideoModesUpdated
-
kSourceVideoModeChanged
public static final VideoEvent.Kind kSourceVideoModeChanged
-
kSourcePropertyCreated
public static final VideoEvent.Kind kSourcePropertyCreated
-
kSourcePropertyValueUpdated
public static final VideoEvent.Kind kSourcePropertyValueUpdated
-
kSourcePropertyChoicesUpdated
public static final VideoEvent.Kind kSourcePropertyChoicesUpdated
-
kSinkSourceChanged
public static final VideoEvent.Kind kSinkSourceChanged
-
kSinkCreated
public static final VideoEvent.Kind kSinkCreated
-
kSinkDestroyed
public static final VideoEvent.Kind kSinkDestroyed
-
kSinkEnabled
public static final VideoEvent.Kind kSinkEnabled
-
kSinkDisabled
public static final VideoEvent.Kind kSinkDisabled
-
kNetworkInterfacesChanged
public static final VideoEvent.Kind kNetworkInterfacesChanged
-
kTelemetryUpdated
public static final VideoEvent.Kind kTelemetryUpdated
-
kSinkPropertyCreated
public static final VideoEvent.Kind kSinkPropertyCreated
-
kSinkPropertyValueUpdated
public static final VideoEvent.Kind kSinkPropertyValueUpdated
-
kSinkPropertyChoicesUpdated
public static final VideoEvent.Kind kSinkPropertyChoicesUpdated
-
kUsbCamerasChanged
public static final VideoEvent.Kind kUsbCamerasChanged
-
-
Method Detail
-
values
public static VideoEvent.Kind[] 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 (VideoEvent.Kind c : VideoEvent.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VideoEvent.Kind 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
-
getValue
public int getValue()
-
-