@scandit/web-datacapture-id
Version:
Scandit Data Capture SDK for the Web
20 lines (19 loc) • 813 B
TypeScript
import { PhysicalDocumentScanner, PhysicalDocumentScannerType, type PhysicalDocumentScannerJSON } from "./PhysicalDocumentScanner.js";
export interface SingleSideScannerJSON extends PhysicalDocumentScannerJSON {
options: {
barcode: boolean;
machineReadableZone: boolean;
visualInspectionZone: boolean;
};
}
export declare class SingleSideScanner extends PhysicalDocumentScanner {
readonly type = PhysicalDocumentScannerType.SingleSide;
private _barcode;
private _machineReadableZone;
private _visualInspectionZone;
constructor(barcode: boolean, machineReadableZone: boolean, visualInspectionZone: boolean);
get barcode(): boolean;
get machineReadableZone(): boolean;
get visualInspectionZone(): boolean;
toJSONObject(): SingleSideScannerJSON;
}