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

<SBSViewBasedMatrixScanOverlayDelegate> Protocol Reference

Inherits <NSObject>.

Instance Methods

(UIView *) - viewBasedMatrixScanOverlay:viewForCode:withIdentifier:
 
(UIOffset) - viewBasedMatrixScanOverlay:offsetForCode:withIdentifier:
 

Detailed Description

Protocol used to change the view corresponding to .

Since
5.9.0

Method Documentation

- (UIView *) viewBasedMatrixScanOverlay: (SBSViewBasedMatrixScanOverlay *)  overlay
viewForCode: (SBSTrackedCode *)  code
withIdentifier: (NSNumber *)  identifier 

Method that will be used by the SBSViewBasedMatrixScanOverlay to set a UIView for the augmentation corresponding to the given tracked barcode.

Parameters
overlayThe view based overlay.
codeThe tracked barcode.
identifierBarcode identifier.
Returns
View for the given barcode.
- (UIOffset) viewBasedMatrixScanOverlay: (SBSViewBasedMatrixScanOverlay *)  overlay
offsetForCode: (SBSTrackedCode *)  code
withIdentifier: (NSNumber *)  identifier 

Method that will be used by the SBSViewBasedMatrixScanOverlay to set an offset to the augmentation corresponding to the given tracked barcode.

Parameters
overlayThe view based overlay.
codeThe tracked barcode.
identifierBarcode identifier.
Returns
Offset for the given barcode.

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