UNPKG

react-native-scanbot-sdk

Version:

Scanbot Document and Barcode Scanner SDK React Native Plugin for Android and iOS

49 lines (43 loc) 1.46 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CheckScanningProgressConfiguration = void 0; var _utils = require("../../utils/utils"); /// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten. /// Generated from rtu-ui-v2/schemas/check/CheckScanningProgressConfiguration.yaml /** Configuration of visualization of the scanning progress - indeterminate progress. */ class CheckScanningProgressConfiguration extends _utils.PartiallyConstructible { /** Enable or disable the scanning progress visualization. Default is true */ enabled = true; /** The color of the scanning progress. Default is "#40A9FF" */ progressColor = '#40A9FF'; /** The duration of a single scanning progress cycle animation in milliseconds. Default is 1000 */ animationDuration = 1000; /** @param source {@displayType `DeepPartial<CheckScanningProgressConfiguration>`} */ constructor(source = {}) { super(); if (source.enabled !== undefined) { this.enabled = source.enabled; } if (source.progressColor !== undefined) { this.progressColor = source.progressColor; } if (source.animationDuration !== undefined) { this.animationDuration = source.animationDuration; } } } exports.CheckScanningProgressConfiguration = CheckScanningProgressConfiguration; //# sourceMappingURL=CheckScanningProgressConfiguration.js.map