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 class
VideoEvent.Kind
-
Field Summary
Fields Modifier and Type Field Description VideoEvent.Kind
kind
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
-
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()
-
-