@scandit/web-datacapture-barcode
Version:
Scandit Data Capture SDK for the Web
21 lines (20 loc) • 843 B
TypeScript
import { Color, ColorJSON } from "@scandit/web-datacapture-core";
import { Serializable } from "@scandit/web-datacapture-core/build/js/private/Serializable";
//#region src/main/find/BarcodeFindViewSettings.d.ts
interface BarcodeFindViewSettingsJSON {
inListItemColor: ColorJSON;
notInListItemColor: ColorJSON;
soundEnabled: boolean;
hapticEnabled: boolean;
}
declare class BarcodeFindViewSettings implements Serializable<BarcodeFindViewSettingsJSON> {
inListItemColor: Color;
notInListItemColor: Color;
hapticEnabled: boolean;
soundEnabled: boolean;
constructor(inListItemColor: Color, notInListItemColor: Color, soundEnabled: boolean, hapticEnabled: boolean);
private static fromJSON;
toJSONObject(): BarcodeFindViewSettingsJSON;
}
//#endregion
export { BarcodeFindViewSettingsJSON as n, BarcodeFindViewSettings as t };