SparkScan View Feedback

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

SparkScanViewFeedback
class SparkScanViewFeedback

Added in version 6.23.0

Deprecated since version 6.23: This class is not used anymore. Use SparkScanBarcodeFeedback and SparkScanView.feedbackDelegate instead.

Used to display a visual feedback when capturing barcodes.

SparkScanViewErrorFeedback
class SparkScanViewErrorFeedback : SparkScanViewFeedback

Added in version 6.23.0

Deprecated since version 6.23: This class is not used anymore. Use SparkScanBarcodeFeedback.Error and SparkScanView.feedbackDelegate instead.

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

constructor(message, resumeCapturingDelay, visualFeedbackColor, errorBrush)
constructor(message: string,
        resumeCapturingDelay: number,
        visualFeedbackColor: Color | null,
        errorBrush: Brush | 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 | null

Added in version 6.23.0

The color of the visual error feedback.

brush
get brush(): Brush | null

Added in version 6.23.0

The brush used for the error feedback.

SparkScanViewSuccessFeedback
class SparkScanViewSuccessFeedback : SparkScanViewFeedback

Added in version 6.23.0

Deprecated since version 6.23: This class is not used anymore. Use SparkScanBarcodeFeedback.Success and SparkScanView.feedbackDelegate instead.

Used to emit a success SparkScanFeedback feedback when capturing barcodes.

constructor(visualFeedbackColor)
constructor(visualFeedbackColor: Color | null)

Added in version 6.23.0

Constructs a success feedback.

visualFeedbackColor
get visualFeedbackColor(): Color | null

Added in version 6.23.0

The color of the visual success feedback.