@scandit/web-datacapture-barcode
Version:
Scandit Data Capture SDK for the Web
40 lines • 1.86 kB
TypeScript
import { a as CompositeType, s as Symbology } from "./Barcode-DNvaiOyn.js";
import { n as SymbologySettingsJSON, t as SymbologySettings } from "./SymbologySettings-BGlJWvRh.js";
import { t as ScanIntention } from "./ScanIntention-BGrIZvQ0.js";
import { t as SelectionMode } from "./SelectionMode-BJr-FYzy.js";
import { JSONType, LocationSelectionJSON, Optional } from "@scandit/web-datacapture-core";
import { Serializable } from "@scandit/web-datacapture-core/build/js/private/Serializable";
//#region src/main/spark/SparkScanSettings.d.ts
interface SparkScanSettingsJSON {
codeDuplicateFilter: number;
enabledCompositeTypes: string[];
locationSelection: LocationSelectionJSON;
symbologies: Record<Symbology, SymbologySettingsJSON>;
properties: Record<string, JSONType>;
scanIntention: ScanIntention | null;
selectionMode: SelectionMode | null;
}
declare class SparkScanSettings implements Serializable<SparkScanSettingsJSON> {
codeDuplicateFilter: number;
enabledCompositeTypes: CompositeType[];
selectionMode?: SelectionMode;
private _scanIntention?;
private _scanIntentionExplicitlySet;
private locationSelection;
private properties;
private symbologies;
constructor();
get scanIntention(): Optional<ScanIntention>;
set scanIntention(scanIntention: Optional<ScanIntention>);
get enabledSymbologies(): Symbology[];
private get compositeTypeDescriptions();
settingsForSymbology(symbology: Symbology): SymbologySettings;
setProperty(name: string, value: any): void;
getProperty(name: string): any;
enableSymbologies(symbologies: Symbology[]): void;
enableSymbology(symbology: Symbology, enabled: boolean): void;
enableSymbologiesForCompositeTypes(compositeTypes: CompositeType[]): void;
toJSONObject(): SparkScanSettingsJSON;
}
//#endregion
export { SparkScanSettingsJSON as n, SparkScanSettings as t };