SparkScan Barcode Feedback

Defined under the namespace Scandit.Datacapture.Barcode.Spark.Feedback

SparkScanBarcodeFeedback
class SparkScanBarcodeFeedback

Added in version 6.23.0

Used to emit feedback when capturing barcodes.

SparkScanBarcodeErrorFeedback
class SparkScanBarcodeErrorFeedback : SparkScanBarcodeFeedback

Added in version 6.23.0

Used to display and emit an error feedback when capturing barcodes.

fromMessage(message, resumeCapturingDelay)
static fromMessage(message: string,
        resumeCapturingDelay: number): SparkScanBarcodeErrorFeedback

Added in version 6.23.0

Constructs an error feedback.

constructor(message, resumeCapturingDelay, visualFeedbackColor, brush, feedback)
constructor(message: string,
        resumeCapturingDelay: number,
        visualFeedbackColor: Color,
        brush: Brush,
        feedback: Feedback | null)

Added in version 6.23.0

Constructs an error feedback.

message
get message(): string

Added in version 6.23.0

The error message to display when a wrong barcode was captured.

resumeCapturingDelay
get resumeCapturingDelay(): number

Added in version 6.23.0

The time interval after which to resume the capturing process.

visualFeedbackColor
get visualFeedbackColor(): Color

Added in version 6.23.0

The color of the visual error feedback.

brush
get brush(): Brush

Added in version 6.23.0

The brush used for the error feedback.

feedback
get feedback(): Feedback | null

Added in version 6.23.0

The feedback used for the error feedback.

SparkScanBarcodeSuccessFeedback
class SparkScanBarcodeSuccessFeedback : SparkScanBarcodeFeedback

Added in version 6.23.0

Used to display and emit a success feedback when capturing barcodes.

constructor()
constructor()

Added in version 6.23.0

Constructs a success feedback.

fromVisualFeedbackColor(visualFeedbackColor, brush, feedback)
static fromVisualFeedbackColor(visualFeedbackColor: Color,
        brush: Brush,
        feedback: Feedback | null): SparkScanBarcodeSuccessFeedback

Added in version 6.23.0

Constructs a success feedback.

visualFeedbackColor
get visualFeedbackColor(): Color

Added in version 6.23.0

The color of the visual success feedback.

brush
get brush(): Brush

Added in version 6.23.0

The brush used for the success feedback.

feedback
get feedback(): Feedback | null

Added in version 6.23.0

The feedback used for the success feedback.