Inherits FrameLayout.
Inherited by SimpleMatrixScanOverlay, and ViewBasedMatrixScanOverlay.
Public Member Functions | |
MatrixScanOverlay (Context context) | |
abstract void | RemoveAllAugmentations () |
abstract void | Add (TrackedBarcode code, long id) |
abstract void | Update (TrackedBarcode code, long id) |
abstract void | Remove (long id) |
Detailed Description
A FrameLayout extension that overlays need to further extend so that they could be added to the MatrixScan instance.
MatrixScan's overlays should inherit from this abstract class in order to be added to the MatrixScan object with the MatrixScan.AddOverlay() method. SimpleMatrixScanOverlay and ViewBasedMatrixScanOverlay both inherit from MatrixScanOverlay and in general it should not be necessary to create a custom overlay.
- Since
- 5.9.0
Constructor & Destructor Documentation
MatrixScanOverlay | ( | Context | context | ) |
MatrixScanOverlay constructor.
- Parameters
-
context Context.
- Since
- 5.9.0
Member Function Documentation
|
pure virtual |
Remove augmentations that are part of the MatrixScanOverlay.
- Since
- 5.9.0
|
pure virtual |
Add a new augmentation to the MatrixScanOverlay for the given code.
The new augmentation should have an identifier equal to the given id.
- Parameters
-
code TrackedBarcode to be used to generate the new augmentation. id Identifier for the new augmentation.
- Since
- 5.9.0
|
pure virtual |
Update (recreate) an existing augmentation with given id for the given code.
- Parameters
-
code TrackedBarcode to be used to recreate the augmentation. id Identifier of an augmentation that should be updated.
- Since
- 5.9.0
|
pure virtual |
Remove an existing augmentation with the given id from the MatrixScanOverlay.
- Parameters
-
id Identifier of an augmentation that should be removed.
- Since
- 5.9.0