com.github.sarxos.webcam.ds.jmf
| Constructor and Description |
|---|
JmfDevice(javax.media.CaptureDeviceInfo cdi) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
dispose() |
BufferedImage |
getImage() |
String |
getName() |
Dimension |
getResolution() |
Dimension[] |
getResolutions() |
boolean |
isOpen() |
void |
open() |
void |
setResolution(Dimension size) |
public JmfDevice(javax.media.CaptureDeviceInfo cdi)
public String getName()
getName in interface com.github.sarxos.webcam.WebcamDevicepublic Dimension[] getResolutions()
getResolutions in interface com.github.sarxos.webcam.WebcamDevicepublic Dimension getResolution()
getResolution in interface com.github.sarxos.webcam.WebcamDevicepublic void setResolution(Dimension size)
setResolution in interface com.github.sarxos.webcam.WebcamDevicepublic BufferedImage getImage()
getImage in interface com.github.sarxos.webcam.WebcamDevicepublic void open()
open in interface com.github.sarxos.webcam.WebcamDevicepublic void close()
close in interface com.github.sarxos.webcam.WebcamDevicepublic void dispose()
dispose in interface com.github.sarxos.webcam.WebcamDevicepublic boolean isOpen()
isOpen in interface com.github.sarxos.webcam.WebcamDeviceCopyright © 2012-2013 Bartosz Firyn (SarXos). All Rights Reserved.