capacitor-plugin-scanbot-barcode-scanner-sdk
Version:
Scanbot Barcode Scanner SDK for Capacitor
17 lines (16 loc) • 642 B
TypeScript
import type { BarcodeResultField, LicenseStatus } from './types';
export interface BarcodeScannerResult {
/** The array of detected barcodes */
barcodes?: BarcodeResultField[];
}
export type BatchBarcodeScannerResult = 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;
}