mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Java HttpCamera: Make accessor functions public.
This commit is contained in:
@@ -64,17 +64,17 @@ public class HttpCamera extends VideoSource {
|
||||
/// Get the kind of HTTP camera.
|
||||
/// Autodetection can result in returning a different value than the camera
|
||||
/// was created with.
|
||||
CameraKind getCameraKind() {
|
||||
public CameraKind getCameraKind() {
|
||||
return getCameraKindFromInt(CameraServerJNI.getHttpCameraKind(m_handle));
|
||||
}
|
||||
|
||||
/// Change the URLs used to connect to the camera.
|
||||
void setUrls(String[] urls) {
|
||||
public void setUrls(String[] urls) {
|
||||
CameraServerJNI.setHttpCameraUrls(m_handle, urls);
|
||||
}
|
||||
|
||||
/// Get the URLs used to connect to the camera.
|
||||
String[] getUrls() {
|
||||
public String[] getUrls() {
|
||||
return CameraServerJNI.getHttpCameraUrls(m_handle);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user