public class VideoDevice extends Object
Constructor and Description |
---|
VideoDevice(int index,
org.openimaj.video.capture.Device device) |
VideoDevice(int index,
String name) |
public VideoDevice(int index, org.openimaj.video.capture.Device device)
index
- zero-based index in the device order list returned by the
host sytemdevice
- IllegalArgumentException
- if id is negative or device is nullpublic VideoDevice(int index, String name)
index
- zero-based index in the device order list returned by the
host sytemname
- display name for the deviceIllegalArgumentException
- if id is negativeCopyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.