SparkScan Barcode Feedback
Defined under the namespace Scandit.Datacapture.Barcode.Spark.Feedback
- SparkScanBarcodeFeedback
abstract class SparkScanBarcodeFeedback
Added in version 6.25.0
Used to emit feedback when capturing barcodes.
- constructor(visualFeedbackColor, feedback)
constructor(visualFeedbackColor: Color, feedback: Feedback)
Added in version 6.24.0
Constructs a new SparkScanBarcodeFeedback with the provided visual feedback color and feedback.
- visualFeedbackColor
visualFeedbackColor: Color
Added in version 6.24.0
The color of the visual feedback.
- defaultSuccessFeedback()
static defaultSuccessFeedback(): Feedback
Added in version 6.24.0
The default success feedback object.
- defaultErrorFeedback()
static defaultErrorFeedback(): Feedback
Added in version 6.24.0
The default error feedback object.
- success()
static success(): SparkScanBarcodeSuccessFeedback
Added in version 6.24.0
The default success barcode feedback object.
- SparkScanBarcodeErrorFeedback
class SparkScanBarcodeErrorFeedback : SparkScanBarcodeFeedback
Added in version 6.25.0
Used to display and emit an error feedback when capturing barcodes.
- constructor(message, resumeCapturingDelay, visualFeedbackColor, brush, feedback)
constructor(message: string, resumeCapturingDelay: number, visualFeedbackColor?: Color, brush?: Brush, feedback?: Feedback)
Added in version 6.25.0
Constructs an error feedback.
- message
message: string
Added in version 6.25.0
The error message to display when a wrong barcode was captured.
- resumeCapturingDelay
resumeCapturingDelay: number
Added in version 6.25.0
The time interval after which to resume the capturing process.
- SparkScanBarcodeSuccessFeedback
class SparkScanBarcodeSuccessFeedback : SparkScanBarcodeFeedback
Added in version 6.25.0
Used to display and emit a success feedback when capturing barcodes.
- constructor(visualFeedbackColor, brush, feedback)
constructor(visualFeedbackColor?: Color, brush?: Brush, feedback?: Feedback)
Added in version 7.0.0
Constructs a success feedback.