Java: Add VideoProperty implementation.

This commit is contained in:
Peter Johnson
2016-08-26 08:50:58 -07:00
parent 97f1f1c9c4
commit 2f99f81aa6
4 changed files with 122 additions and 8 deletions

View File

@@ -50,8 +50,8 @@ public class VideoSink {
/// @param name Property name
/// @return Property (type Property::kNone if no property with
/// the given name exists or no source connected)
//public VideoProperty getSourceProperty(String name) {
//}
public VideoProperty getSourceProperty(String name) {
return new VideoProperty(CameraServerJNI.getSourceProperty(m_handle, name)); }
/// Enumerate all existing sinks.
/// @return Vector of sinks.