SparkScan View Feedback

Defined in library scandit_datacapture_barcode_spark_ui

SparkScanViewFeedback
abstract class SparkScanViewFeedback

Added in version 6.20.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.20.0

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

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

SparkScanViewErrorFeedback(message, resumeCapturingDelay, visualFeedbackColor)
SparkScanViewErrorFeedback(String message,
        Duration resumeCapturingDelay,
        Color? visualFeedbackColor)

Added in version 6.20.0

Constructs an error feedback.

message
String get message

Added in version 6.20.0

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

resumeCapturingDelay
Duration get resumeCapturingDelay

Added in version 6.20.0

The time interval after which to resume the capturing process.

visualFeedbackColor
Color? get visualFeedbackColor

Added in version 6.20.0

The color of the visual error feedback.

SparkScanViewSuccessFeedback
class SparkScanViewSuccessFeedback : SparkScanViewFeedback

Added in version 6.20.0

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

Used to emit a success SparkScanFeedback feedback when capturing barcodes.

SparkScanViewSuccessFeedback(visualFeedbackColor)
SparkScanViewSuccessFeedback(Color? visualFeedbackColor)

Added in version 6.20.0

Constructs a success feedback.

visualFeedbackColor
Color? get visualFeedbackColor

Added in version 6.20.0

The color of the visual success feedback.