zxing-typescript
Version:
TypeScript port of ZXing open-source, multi-format 1D/2D barcode image processing library
18 lines (16 loc) • 501 B
text/typescript
/**
* Video input device metadata containing the id and label of the device if available.
*
* @export
* @class VideoInputDevice
*/
export default class VideoInputDevice {
/**
* 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
*/
public constructor(public deviceId: string, public label: string) {}
}