capacitor-plugin-scanbot-sdk
Version:
Scanbot Document and Barcode Scanner SDK for Capacitor
13 lines (12 loc) • 322 B
TypeScript
export type Status = 'OK' | 'CANCELED';
export type ResultWrapper<T> = {
status: Status;
} & T;
export type ResultWrapperWithMetadata<T, K> = {
metadata: K;
} & ResultWrapper<T>;
export type DocumentScannerMetadata = {
autoSnappingEnabled: boolean;
flashEnabled: boolean;
multiPageEnabled: boolean;
};