com.github.sarxos.webcam.ds.buildin.cgt
Class GetDevicesTask
java.lang.Object
com.github.sarxos.webcam.ds.buildin.WebcamGrabberTask
com.github.sarxos.webcam.ds.buildin.cgt.GetDevicesTask
public class GetDevicesTask
- extends WebcamGrabberTask
Processor task used to discover native webcam devices.
- Author:
- Bartosz Firyn (SarXos)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetDevicesTask
public GetDevicesTask(WebcamGrabberProcessor processor)
- Creates new task used to discover native webcam devices.
- Parameters:
processor -
getDevices
public List<Device> getDevices()
- Returns:
- Discovered devices
handle
protected void handle()
- Description copied from class:
WebcamGrabberTask
- Method to be called from inside of the processor thread.
- Specified by:
handle in class WebcamGrabberTask
Copyright © 2012-2013 Bartosz Firyn (SarXos). All Rights Reserved.