public class CaptureStream extends Object
| Constructor and Description |
|---|
CaptureStream(com.sun.jna.Pointer context,
int streamId,
CaptureFormat format) |
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
capture() |
void |
close() |
com.sun.jna.Pointer |
getContext() |
CaptureFormat |
getFormat() |
PropertyLimits |
getPropertyLimits(CaptureProperty property) |
int |
getStreamId() |
void |
setAutoProperty(CaptureProperty property,
boolean on) |
void |
setProperty(CaptureProperty property,
int value) |
String |
toString() |
public CaptureStream(com.sun.jna.Pointer context,
int streamId,
CaptureFormat format)
public void close()
public com.sun.jna.Pointer getContext()
public int getStreamId()
public CaptureFormat getFormat()
public PropertyLimits getPropertyLimits(CaptureProperty property) throws Exception
Exceptionpublic void setAutoProperty(CaptureProperty property, boolean on) throws Exception
Exceptionpublic void setProperty(CaptureProperty property, int value) throws Exception
Exceptionpublic BufferedImage capture()
Copyright © 2017. All rights reserved.