Deprecation warning

Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.

We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.

You'll find the updated documentation at: Data Capture SDK Documentation for iOS

<SBSSimpleMatrixScanOverlayDelegate> Protocol Reference

Inherits <NSObject>.

Instance Methods

(UIColor *) - simpleMatrixScanOverlay:colorForCode:withIdentifier:
 
(void) - simpleMatrixScanOverlay:didTapCode:withIdentifier:
 

Detailed Description

Protocol used to set the color of an augmentation or to react when an augmentation is touched.

Since
5.9.0

Method Documentation

- (UIColor *) simpleMatrixScanOverlay: (SBSSimpleMatrixScanOverlay *)  overlay
colorForCode: (SBSTrackedCode *)  code
withIdentifier: (NSNumber *)  identifier 

Method that will be used by the SBSSimpleMatrixScanOverlay to set a color of the augmentation corresponding to the given tracked barcode.

Parameters
overlayThe simple overlay.
codeThe barcode.
identifierBarcode identifier.
Returns
Color to be used by the augmentation for the given barcode.
Since
5.9.0
- (void) simpleMatrixScanOverlay: (SBSSimpleMatrixScanOverlay *)  overlay
didTapCode: (SBSTrackedCode *)  code
withIdentifier: (NSNumber *)  identifier 

Method that will be called by the SBSSimpleMatrixScanOverlay once the given tracked barcode is touched.

Parameters
overlayThe simple overlay.
codeA SBSTrackedCode instance.
identifierBarcode identifier.
Since
5.9.0

The documentation for this protocol was generated from the following file: