mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Remove RemoveSourceProperty.
This commit is contained in:
@@ -125,8 +125,6 @@ public class CameraServerJNI {
|
||||
// int type, int minimum, int maximum, int step, int defaultValue, int value,
|
||||
// void (*onChange)(int property));
|
||||
public static native void setSourceEnumPropertyChoices(int source, int property, String[] choices);
|
||||
public static native void removeSourceProperty(int source, int property);
|
||||
public static native void removeSourcePropertyByName(int source, String name);
|
||||
|
||||
//
|
||||
// Sink Creation Functions
|
||||
|
||||
@@ -87,16 +87,4 @@ public class CvSource extends VideoSource {
|
||||
public void SetEnumPropertyChoices(VideoProperty property, String[] choices) {
|
||||
CameraServerJNI.setSourceEnumPropertyChoices(m_handle, property.m_handle, choices);
|
||||
}
|
||||
|
||||
/// Remove a property.
|
||||
/// @param name Property name
|
||||
public void removeProperty(VideoProperty property) {
|
||||
CameraServerJNI.removeSourceProperty(m_handle, property.m_handle);
|
||||
}
|
||||
|
||||
/// Remove a property.
|
||||
/// @param name Property name
|
||||
public void removeProperty(String name) {
|
||||
CameraServerJNI.removeSourcePropertyByName(m_handle, name);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user