SparkScan Barcode Feedback

Defined in library scandit_datacapture_barcode_spark_feedback

SparkScanBarcodeFeedback
abstract class SparkScanBarcodeFeedback

Added in version 6.23.0

Used to emit feedback when capturing barcodes.

defaultSuccessFeedback()
static Feedback? defaultSuccessFeedback()

Added in version 6.23.0

The default success feedback object.

defaultErrorFeedback()
static Feedback? defaultErrorFeedback()

Added in version 6.23.0

The default error feedback object.

SparkScanBarcodeErrorFeedback
class SparkScanBarcodeErrorFeedback : SparkScanBarcodeFeedback

Added in version 6.23.0

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

SparkScanBarcodeErrorFeedback.fromMessage(message, resumeCapturingDelay)
SparkScanBarcodeErrorFeedback.fromMessage(
        String message,
        Duration resumeCapturingDelay)

Added in version 6.23.0

Constructs an error feedback.

SparkScanBarcodeErrorFeedback(message, resumeCapturingDelay, visualFeedbackColor, brush, feedback)
SparkScanBarcodeErrorFeedback(String message,
        Duration resumeCapturingDelay,
        Color visualFeedbackColor,
        Brush brush,
        Feedback? feedback)

Added in version 6.23.0

Constructs an error feedback.

message
String get message

Added in version 6.23.0

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

resumeCapturingDelay
Duration get resumeCapturingDelay

Added in version 6.23.0

The time interval after which to resume the capturing process.

visualFeedbackColor
Color get visualFeedbackColor

Added in version 6.23.0

The color of the visual error feedback.

brush
Brush get brush

Added in version 6.23.0

The brush used for the error feedback.

feedback
Feedback? get feedback

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.

SparkScanBarcodeSuccessFeedback()
SparkScanBarcodeSuccessFeedback()

Added in version 6.23.0

Constructs a success feedback.

SparkScanBarcodeSuccessFeedback.fromVisualFeedbackColor(visualFeedbackColor, brush, feedback)
SparkScanBarcodeSuccessFeedback.fromVisualFeedbackColor(
        Color visualFeedbackColor,
        Brush brush,
        Feedback? feedback)

Added in version 6.23.0

Constructs a success feedback.

visualFeedbackColor
Color get visualFeedbackColor

Added in version 6.23.0

The color of the visual success feedback.

brush
Brush get brush

Added in version 6.23.0

The brush used for the success feedback.

feedback
Feedback? get feedback

Added in version 6.23.0

The feedback used for the success feedback.