SparkScan Feedback Delegate

Defined in framework ScanditBarcodeCapture

SDCSparkScanFeedbackDelegate
@protocol SDCSparkScanFeedbackDelegate <NSObject>

Added in version 6.23.0

Feedback delegate protocol for SparkScan. This can be used to customize the emitted feedback for each detected barcode. See SDCSparkScanView.feedbackDelegate.

- feedbackForBarcode:
- (nullable SDCSparkScanBarcodeFeedback *)feedbackForBarcode:(SDCBarcode *)barcode

Added in version 6.23.0

Invoked for each detected barcode. The implementation should return SparkScanBarcodeFeedback.Success, SparkScanBarcodeFeedback.Error, or nil. If nil is returned, the default brush is used to visualize the barcode and no other feedback (visual, sound, or haptic) is emitted. By default returns SparkScanBarcodeFeedback.Success.

Note that this method is executed on a background thread.