com.github.sarxos.webcam
Class WebcamTask
java.lang.Object
com.github.sarxos.webcam.WebcamTask
- Direct Known Subclasses:
- WebcamCloseTask, WebcamDisposeTask, WebcamOpenTask, WebcamReadBufferTask, WebcamReadImageTask
public abstract class WebcamTask
- extends Object
WebcamTask
public WebcamTask(WebcamDriver driver,
WebcamDevice device)
getDevice
public WebcamDevice getDevice()
process
public void process()
throws InterruptedException
- Process task by processor thread.
- Parameters:
processor
- the processor to be used to process this task
- Throws:
InterruptedException
- when thread has been interrupted
getThrowable
public Throwable getThrowable()
setThrowable
public void setThrowable(Throwable t)
Copyright © 2012-2013 Bartosz Firyn (SarXos). All Rights Reserved.