SimpleMatrixScanOverlay.ISimpleMatrixScanOverlayListener Interface Reference

Inherits IJavaObject, and IDisposable.

Public Member Functions

int GetColorForCode (TrackedBarcode barcode, long trackingId)
 
void OnCodeTouched (TrackedBarcode barcode, long trackingId)
 

Detailed Description

Interface that can be used to set a onCodeTouched action or define a custom augmentation color for every tracked barcode.

Since
5.9.0

Member Function Documentation

int GetColorForCode ( TrackedBarcode  barcode,
long  trackingId 
)

Interface method that will be used by the SimpleMatrixScanOverlay to set a color of the augmentation corresponding to the given tracked barcode.

Parameters
barcodeA ScanditBarcodePicker.Android.Recognition.TrackedBarcode instance.
trackingIdBarcode identifier.
Returns
Color to be used by the augmentation for the given barcode.
Since
5.9.0
void OnCodeTouched ( TrackedBarcode  barcode,
long  trackingId 
)

Interface callback method that will be called by the SimpleMatrixScanOverlay once the given tracked barcode is touched.

Parameters
barcodeA ScanditBarcodePicker.Android.Recognition.TrackedBarcode instance.
trackingIdBarcode identifier.
Since
5.9.0