mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
Consistently name property max/min functions and add step/default.
This commit is contained in:
@@ -70,11 +70,19 @@ public class VideoProperty {
|
||||
}
|
||||
|
||||
public double getMin() {
|
||||
return CameraServerJNI.getDoublePropertyMin(m_handle);
|
||||
return CameraServerJNI.getPropertyMin(m_handle);
|
||||
}
|
||||
|
||||
public double getMax() {
|
||||
return CameraServerJNI.getDoublePropertyMax(m_handle);
|
||||
return CameraServerJNI.getPropertyMax(m_handle);
|
||||
}
|
||||
|
||||
public double getStep() {
|
||||
return CameraServerJNI.getPropertyStep(m_handle);
|
||||
}
|
||||
|
||||
public double getDefault() {
|
||||
return CameraServerJNI.getPropertyDefault(m_handle);
|
||||
}
|
||||
|
||||
// String-specific functions
|
||||
|
||||
Reference in New Issue
Block a user