@scandit/web-datacapture-barcode
Version:
Scandit Data Capture SDK for the Web
25 lines (24 loc) • 977 B
TypeScript
import { r as SparkScanBarcodeFeedback } from "./SparkScanBarcodeFeedback-C79-SSrQ.js";
import { Feedback, Sound, Vibration } from "@scandit/web-datacapture-core";
//#region src/main/spark/ui/SparkScanViewFeedbackManager.d.ts
declare class SparkScanViewFeedbackManager {
soundEnabled: boolean;
hapticEnabled: boolean;
tapVibration: Vibration | null;
tapFeedback: Feedback;
successSound: Sound | null;
successVibration: Vibration | null;
successFeedback: Feedback;
errorSound: Sound | null;
noFeedback: Feedback;
errorVibration: Vibration | null;
errorFeedback: Feedback;
private constructor();
static withDefaults(soundEnabled: boolean, hapticEnabled: boolean): SparkScanViewFeedbackManager;
setSoundEnabled(soundEnabled: boolean): void;
setHapticEnabled(hapticEnabled: boolean): void;
emitTapFeedback(): void;
emitBarcodeFeedback(barcodeFeedback?: SparkScanBarcodeFeedback): void;
}
//#endregion
export { SparkScanViewFeedbackManager as t };