UNPKG

capacitor-plugin-scanbot-sdk

Version:

Scanbot Document and Barcode Scanner SDK for Capacitor

15 lines 585 B
import { TextPatternScannerUiResult, mapRTUUIResult, withSBErrorHandling, } from '../types'; import { ScanbotSDKPlugin } from './Definitions'; /** * @internal * @hidden */ export const ScanbotTextPatternImpl = { async startScanner(configuration) { return withSBErrorHandling(async () => mapRTUUIResult(await ScanbotSDKPlugin.startTextPatternScanner(configuration), TextPatternScannerUiResult)); }, async forceCloseScanner() { return withSBErrorHandling(ScanbotSDKPlugin.forceCloseTextPatternScanner); }, }; //# sourceMappingURL=TextPatternImpl.js.map