public class VideoSink extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VideoSink.Kind |
Modifier and Type | Field and Description |
---|---|
protected int |
m_handle |
Modifier | Constructor and Description |
---|---|
protected |
VideoSink(int handle) |
Modifier and Type | Method and Description |
---|---|
static VideoSink[] |
enumerateSinks()
Enumerate all existing sinks.
|
boolean |
equals(java.lang.Object other) |
void |
free() |
java.lang.String |
getDescription()
Get the sink description.
|
int |
getHandle() |
VideoSink.Kind |
getKind()
Get the kind of the sink.
|
static VideoSink.Kind |
getKindFromInt(int kind) |
java.lang.String |
getName()
Get the name of the sink.
|
VideoSource |
getSource()
Get the connected source.
|
VideoProperty |
getSourceProperty(java.lang.String name)
Get a property of the associated source.
|
int |
hashCode() |
boolean |
isValid() |
void |
setSource(VideoSource source)
Configure which source should provide frames to this sink.
|
protected int m_handle
protected VideoSink(int handle)
public static VideoSink.Kind getKindFromInt(int kind)
public void free()
public boolean isValid()
public int getHandle()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VideoSink.Kind getKind()
public java.lang.String getName()
public java.lang.String getDescription()
public void setSource(VideoSource source)
source
- Sourcepublic VideoSource getSource()
public VideoProperty getSourceProperty(java.lang.String name)
name
- Property namepublic static VideoSink[] enumerateSinks()