Class UsbCameraInfo


  • public class UsbCameraInfo
    extends Object
    USB camera information.
    • Field Detail

      • dev

        public int dev
        Device number (e.g. N in '/dev/videoN' on Linux).
      • path

        public String path
        Path to device if available (e.g. '/dev/video0' on Linux).
      • name

        public String name
        Vendor/model name of the camera as provided by the USB driver.
      • otherPaths

        public String[] otherPaths
        Other path aliases to device (e.g. '/dev/v4l/by-id/...' etc on Linux).
    • Constructor Detail

      • UsbCameraInfo

        public UsbCameraInfo​(int dev,
                             String path,
                             String name,
                             String[] otherPaths)
        Create a new set of UsbCameraInfo.
        Parameters:
        dev - Device number (e.g. N in '/dev/videoN' on Linux)
        path - Path to device if available (e.g. '/dev/video0' on Linux)
        name - Vendor/model name of the camera as provided by the USB driver
        otherPaths - Other path aliases to device