Package edu.wpi.cscore
Class VideoEvent
- java.lang.Object
-
- edu.wpi.cscore.VideoEvent
-
public class VideoEvent extends Object
Video event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVideoEvent.Kind
-
Field Summary
Fields Modifier and Type Field Description VideoEvent.KindkindVideoModemodeStringnameintpropertyHandleVideoProperty.KindpropertyKindintsinkHandleintsourceHandleintvalueStringvalueStr
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VideoEvent.KindgetKindFromInt(int kind)Convert from the numerical representation of kind to an enum type.VideoPropertygetProperty()VideoSinkgetSink()VideoSourcegetSource()
-
-
-
Field Detail
-
kind
public VideoEvent.Kind kind
-
sourceHandle
public int sourceHandle
-
sinkHandle
public int sinkHandle
-
name
public String name
-
mode
public VideoMode mode
-
propertyHandle
public int propertyHandle
-
propertyKind
public VideoProperty.Kind propertyKind
-
value
public int value
-
valueStr
public String valueStr
-
-
Method Detail
-
getKindFromInt
public static VideoEvent.Kind getKindFromInt(int kind)
Convert from the numerical representation of kind to an enum type.- Parameters:
kind- The numerical representation of kind- Returns:
- The kind
-
getSource
public VideoSource getSource()
-
getSink
public VideoSink getSink()
-
getProperty
public VideoProperty getProperty()
-
-