UNPKG

react-native-scanbot-sdk

Version:

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

43 lines (37 loc) 1.29 kB
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten. /// Generated from rtu-ui-v2/schemas/creditcard/CreditCardScanningProgressConfiguration.yaml import { PartiallyConstructible } from '../../utils/utils'; /** Configuration of visualization of the scanning progress - indeterminate progress. */ export class CreditCardScanningProgressConfiguration extends 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<CreditCardScanningProgressConfiguration>`} */ 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; } } } //# sourceMappingURL=CreditCardScanningProgressConfiguration.js.map