Package edu.wpi.first.cscore
Class VideoEvent
- java.lang.Object
-
- edu.wpi.first.cscore.VideoEvent
-
public class VideoEvent extends Object
Video event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VideoEvent.Kind
-
Field Summary
Fields Modifier and Type Field Description VideoEvent.Kind
kind
int
listener
VideoMode
mode
String
name
int
propertyHandle
VideoProperty.Kind
propertyKind
int
sinkHandle
int
sourceHandle
int
value
String
valueStr
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VideoEvent.Kind
getKindFromInt(int kind)
Convert from the numerical representation of kind to an enum type.VideoProperty
getProperty()
VideoSink
getSink()
VideoSource
getSource()
-
-
-
Field Detail
-
kind
public VideoEvent.Kind kind
-
sourceHandle
public int sourceHandle
-
sinkHandle
public int sinkHandle
-
propertyHandle
public int propertyHandle
-
propertyKind
public VideoProperty.Kind propertyKind
-
value
public int value
-
listener
public int listener
-
-
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()
-
getProperty
public VideoProperty getProperty()
-
-