Inherits UIView, and <SBSMatrixScanOverlay>.
Instance Methods | |
(void) | - setView:forCodeWithIdentifier: |
(void) | - setOffset:forCodeWithIdentifier: |
(void) | - removeAllAugmentations |
(void) | - addCode:withIdentifier: |
(void) | - updateCode:withIdentifier: |
(void) | - removeCodeWithIdentifier: |
Properties | |
id < SBSViewBasedMatrixScanOverlayDelegate > | delegate |
SBSBarcodePicker * | picker |
Detailed Description
An implementation of MatrixScanOverlay, that uses UIView class instances as augmentations for all of the tracked barcodes.
- Since
- 5.9.0
Method Documentation
- (void) setView: | (UIView *) | view | |
forCodeWithIdentifier: | (NSNumber *) | identifier | |
Change the UIView shown over the tracked barcode.
- Parameters
-
view UIView instance, to be used as an augmentation. identifier Barcode identifier.
- Since
- 5.9.0
- (void) setOffset: | (UIOffset) | offset | |
forCodeWithIdentifier: | (NSNumber *) | identifier | |
Change the offset of the augmentation with respect to the center of the tracked code.
- Parameters
-
offset The offset from the center of the tracked code. identifier Barcode identifier.
- Since
- 5.9.0
- (void) removeAllAugmentations |
Remove augmentations that are part of the MatrixScanOverlay.
- Since
- 5.9.0
- (void) addCode: | (SBSTrackedCode *) | code | |
withIdentifier: | (NSNumber *) | identifier | |
Add a new augmentation for the given code.
The new augmentation should have an identifier equal to the given id.
- Parameters
-
code SBSTrackedCode to be used to generate the new augmentation. identifier Identifier for the new augmentation.
- Since
- 5.9.0
- (void) updateCode: | (SBSTrackedCode *) | code | |
withIdentifier: | (NSNumber *) | identifier | |
Update (recreate) an existing augmentation with given id for the given code.
- Parameters
-
code SBSTrackedCode to be used to recreate the augmentation. identifier Identifier of an augmentation that should be updated.
- Since
- 5.9.0
- (void) removeCodeWithIdentifier: | (NSNumber *) | identifier |
Remove an existing augmentation with the given identifier from the MatrixScanOverlay.
- Parameters
-
identifier Identifier of an augmentation that should be removed.
- Since
- 5.9.0
Property Documentation
|
readwritenonatomicweak |
The delegate invoked to set the UIView that will be shown over the tracked barcode.
- Since
- 5.9.0
|
readwritenonatomicweakinherited |
The SBSBarcodePicker instance.
- Since
- 5.9.0
The documentation for this class was generated from the following file: