@tjieco/library
Version:
TypeScript port of ZXing multi-format 1D/2D barcode image processing library, with Code128 and ITF support.
24 lines (23 loc) • 672 B
JavaScript
;
/**
* Video input device metadata containing the id and label of the device if available.
*
* @export
* @class VideoInputDevice
*/
exports.__esModule = true;
var VideoInputDevice = /** @class */ (function () {
/**
* Creates an instance of VideoInputDevice.
* @param {string} deviceId the video input device id
* @param {string} label the label of the device if available
*
* @memberOf VideoInputDevice
*/
function VideoInputDevice(deviceId, label) {
this.deviceId = deviceId;
this.label = label;
}
return VideoInputDevice;
}());
exports["default"] = VideoInputDevice;