Barcode Tracking Advanced Overlay Listener
Defined in namespace Scandit.DataCapture.Barcode.Tracking.UI.Overlay
Note
Using this class requires the MatrixScan AR add-on.
- IBarcodeTrackingAdvancedOverlayListener
interface IBarcodeTrackingAdvancedOverlayListener
Added in version 6.3.0
- ViewForTrackedBarcode()
UIView ViewForTrackedBarcode(BarcodeTrackingAdvancedOverlay overlay, TrackedBarcode trackedBarcode)
Added in version 6.2.0
View to be drawn corresponding to the given TrackedBarcode. This method will be called before AnchorForTrackedBarcode() and OffsetForTrackedBarcode(). Beware that this view can be overridden with BarcodeTrackingAdvancedOverlay.SetViewForTrackedBarcode() method. This method will only be called for new tracked barcodes that do not have a view yet, e.g. a view set by a call to BarcodeTrackingAdvancedOverlay.SetViewForTrackedBarcode().
Called from the main thread.
Note
Requires a special license key to support rendering any kind of images since this feature is available only in limited countries. Please contact support@scandit.com for details
- AnchorForTrackedBarcode()
Anchor AnchorForTrackedBarcode(BarcodeTrackingAdvancedOverlay overlay, TrackedBarcode trackedBarcode)
Added in version 6.2.0
Anchor point that should be used for the view corresponding to the given TrackedBarcode. This method will be called after ViewForTrackedBarcode() and before OffsetForTrackedBarcode(). Beware that this anchor can be overridden with BarcodeTrackingAdvancedOverlay.SetAnchorForTrackedBarcode() method. This method will only be called for new tracked barcodes that do not have an anchor yet, e.g. an anchor set by a call to BarcodeTrackingAdvancedOverlay.SetAnchorForTrackedBarcode().
Called from the main thread.
- OffsetForTrackedBarcode()
PointWithUnit OffsetForTrackedBarcode(BarcodeTrackingAdvancedOverlay overlay, TrackedBarcode trackedBarcode)
Added in version 6.2.0
Offset to be set to the view corresponding to the given TrackedBarcode. The offset is relative to the anchor point of the tracked barcode. This method will be called after ViewForTrackedBarcode() and AnchorForTrackedBarcode(). Beware that this offset can be overridden with BarcodeTrackingAdvancedOverlay.SetOffsetForTrackedBarcode() method. This method will only be called for new tracked barcodes that do not have an offset yet, e.g. an offset set by a call to BarcodeTrackingAdvancedOverlay.SetOffsetForTrackedBarcode().
Called from the main thread.