SparkScan View Feedback
Defined in package com.scandit.datacapture.barcode.spark.ui
- SparkScanViewFeedback
abstract class SparkScanViewFeedback
Added in version 6.15.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.
- Error
class Error : SparkScanViewFeedback
Added in version 6.15.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.
- Error()
Error(@NonNull String message, @NonNull TimeInterval resumeCapturingDelay)
Added in version 6.15.0
Constructs an error feedback.
- Error()
Error(@NonNull String message, @NonNull TimeInterval resumeCapturingDelay,
int
visualFeedbackColor)Added in version 6.16.0
Constructs an error feedback.
- Error()
Error(@NonNull String message, @NonNull TimeInterval resumeCapturingDelay,
int
visualFeedbackColor, @NonNull Brush brush)Added in version 6.18.0
Constructs an error feedback.
- message
@NonNull String getMessage()
Added in version 6.15.0
The error message to display when a wrong barcode was captured.
- resumeCapturingDelay
@NonNull TimeInterval getResumeCapturingDelay()
Added in version 6.15.0
The time interval after which to resume the capturing process.
- visualFeedbackColor
int
getVisualFeedbackColor()Added in version 6.16.0
The color of the visual error feedback.
- Success
class Success : SparkScanViewFeedback
Added in version 6.15.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.
- Success()
Success()
Added in version 6.15.0
Constructs a success feedback.
- Success()
Success(
int
visualFeedbackColor)Added in version 6.16.0
Constructs a success feedback.
- visualFeedbackColor
int
getVisualFeedbackColor()Added in version 6.16.0
The color of the visual success feedback.