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 Android

SimpleMatrixScanOverlay Class Reference

Inherits MatrixScanOverlay.

Classes

interface  SimpleMatrixScanOverlayListener
 

Public Member Functions

 SimpleMatrixScanOverlay (Context context, MatrixScan matrixScan, SimpleMatrixScanOverlayListener listener)
 
void setColor (int color, long barcodeId)
 
void setAllAugmentationColors (int color)
 

Detailed Description

A simple implementation of the abstract MatrixScanOverlay class, that draws colorful, rectangle overlays on top of tracked barcodes.

Since
5.9.0

Constructor & Destructor Documentation

SimpleMatrixScanOverlay ( Context  context,
MatrixScan  matrixScan,
SimpleMatrixScanOverlayListener  listener 
)

A SimpleMatrixScanOverlay constructor.

Parameters
contextContext.
matrixScanA reference to a MatrixScan instance that the overlay will be added to.
listenerInstance of the SimpleMatrixScanOverlayListener class.
Since
5.9.0

Member Function Documentation

void setColor ( int  color,
long  barcodeId 
)

Change the color of the augmentation corresponding to the given identifier.

Parameters
colorColor for the augmentation.
barcodeIdBarcode identifier.
Since
5.9.0
void setAllAugmentationColors ( int  color)

Change the color of all augmentations.

Parameters
colorColor for the augmentations.
Since
5.9.0

The documentation for this class was generated from the following file:
  • SimpleMatrixScanOverlay.java