Consistently name property max/min functions and add step/default.

This commit is contained in:
Peter Johnson
2016-09-16 21:00:19 -07:00
parent 9bb37d5df0
commit c606671d27
10 changed files with 100 additions and 22 deletions

View File

@@ -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