Class VideoProperty
java.lang.Object
org.wpilib.vision.camera.VideoProperty
A source or sink property.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionintget()Returns property value.String[]Returns the possible values for the enum property value.intReturns property default value.getKind()Returns property kind.static VideoProperty.KindgetKindFromInt(int kind) Convert from the numerical representation of kind to an enum type.intgetMax()Returns property maximum value.intgetMin()Returns property minimum value.getName()Returns property name.intgetStep()Returns property step size.Returns the string property value.booleanReturns true if property is a boolean.booleanisEnum()Returns true if property is an enum.booleanReturns true if property is an integer.booleanisString()Returns true if property is a string.booleanisValid()Returns true if property is valid.voidset(int value) Sets property value.voidSets the string property value.
-
Method Details
-
getKindFromInt
Convert from the numerical representation of kind to an enum type.- Parameters:
kind- The numerical representation of kind- Returns:
- The kind
-
getName
-
getKind
-
isValid
-
isBoolean
Returns true if property is a boolean.- Returns:
- True if property is a boolean.
-
isInteger
Returns true if property is an integer.- Returns:
- True if property is an integer.
-
isString
Returns true if property is a string.- Returns:
- True if property is a string.
-
isEnum
-
get
-
set
-
getMin
-
getMax
-
getStep
-
getDefault
-
getString
-
setString
-
getChoices
Returns the possible values for the enum property value.This function is enum-specific.
- Returns:
- The possible values for the enum property value.
-