react-native-scanbot-barcode-scanner-sdk
Version:
Scanbot Barcode Scanner SDK React Native Plugin for Android and iOS
20 lines (16 loc) • 633 B
text/typescript
import { BarcodeResultField, LicenseStatus } from './types';
export interface BarcodeScannerResult {
/** The array of detected barcodes */
barcodes?: BarcodeResultField[];
}
export interface BatchBarcodeScannerResult extends BarcodeScannerResult {}
export interface LicenseInfoResult {
/** True if the license is valid, false otherwise */
isLicenseValid: boolean;
/** The license status */
licenseStatus: LicenseStatus;
/** Detailed license status message for development and debug purposes */
licenseStatusMessage?: string;
/** The license expiration date in milliseconds */
licenseExpirationDate?: number;
}