@scandit/web-datacapture-id
Version:
Scandit Data Capture SDK for the Web
24 lines (23 loc) • 1.05 kB
TypeScript
import { INTERNAL_ACCESS } from "../privateAccess.js";
import type { MobileDocumentScanner, MobileDocumentScannerJSON } from "./mobileDocuments/MobileDocumentScanner";
import type { PhysicalDocumentScanner, PhysicalDocumentScannerJSON } from "./physicalDocuments/PhysicalDocumentScanner";
export interface IdCaptureScannerJSON {
physicalDocument: PhysicalDocumentScannerJSON | null;
mobileDocument: MobileDocumentScannerJSON | null;
allowCloudScanning?: boolean;
}
export interface IdCaptureScannerOptions {
physicalDocument?: PhysicalDocumentScanner | null;
mobileDocument?: MobileDocumentScanner | null;
}
export declare class IdCaptureScanner {
physicalDocument?: PhysicalDocumentScanner | null;
mobileDocument?: MobileDocumentScanner | null;
private allowCloudScanning;
[INTERNAL_ACCESS]: {
setAllowCloudScanning: (allowCloudScanning: boolean) => void;
getAllowCloudScanning: () => boolean;
};
constructor(options?: IdCaptureScannerOptions);
toJSONObject(): IdCaptureScannerJSON;
}