Barcode Tracking Basic Overlay Listener

Defined in namespace Scandit.DataCapture.Barcode.Tracking.UI.Overlay

Note

Using this class requires the MatrixScan AR add-on.

IBarcodeTrackingBasicOverlayListener
interface IBarcodeTrackingBasicOverlayListener

Added in version 6.16.0

BrushForTrackedBarcode()
Brush BrushForTrackedBarcode(BarcodeTrackingBasicOverlay overlay, TrackedBarcode trackedBarcode)

Added in version 6.16.0

Callback method that can be used to set a Brush for a tracked barcode. It is called when a new tracked barcode appears. Called from the rendering thread. If the callback returns null, then no visualization will be drawn for the tracked barcode. Additionally, tapping on the barcode will have no effect - the action defined by OnTrackedBarcodeTapped() callback will not be performed.

OnTrackedBarcodeTapped()
void OnTrackedBarcodeTapped(BarcodeTrackingBasicOverlay overlay, TrackedBarcode trackedBarcode)

Added in version 6.16.0

Callback method that can be used to define an action that should be performed once a tracked barcode is tapped. Called from the main thread.

If you are adding a UIGestureRecognizer to the data capture view, ensure that the CancelsTouchesInView property is set to false as otherwise tap gestures will be cancelled instead of successfully completing.