react-native-scanbot-barcode-scanner-sdk
Version:
Scanbot Barcode Scanner SDK React Native Plugin for Android and iOS
27 lines (26 loc) • 1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ScanbotBarcodeSdkImpl = void 0;
var _types = require("../types");
var _scanbotBarcodeSDKModule = require("./scanbotBarcodeSDKModule");
/**
* @internal
* @hidden
*/
const ScanbotBarcodeSdkImpl = exports.ScanbotBarcodeSdkImpl = {
initialize(config) {
return (0, _types.withSBErrorHandling)(async () => new _types.LicenseInfo(await _scanbotBarcodeSDKModule.ScanbotBarcodeSDKModule.initialize(config)));
},
getLicenseInfo() {
return (0, _types.withSBErrorHandling)(async () => new _types.LicenseInfo(await _scanbotBarcodeSDKModule.ScanbotBarcodeSDKModule.getLicenseInfo()));
},
cleanupStorage() {
return (0, _types.withSBErrorHandling)(_scanbotBarcodeSDKModule.ScanbotBarcodeSDKModule.cleanupStorage);
},
mockCamera(params) {
return (0, _types.withSBErrorHandling)(() => _scanbotBarcodeSDKModule.ScanbotBarcodeSDKModule.mockCamera(params));
}
};
//# sourceMappingURL=SdkImpl.js.map