Package io.anyline2.viewplugin.ar
Class BarcodeOverlayView
-
- All Implemented Interfaces:
public final class BarcodeOverlayView extends BaseOverlayView
Keeps a VisibleBarcode tied to its View
Contains
visibleBarcode, as the main data point
BarcodeOverlayListener, so we know what view belongs to this VisibleBarcode
removalCounter, which indicates a view should be removed if it reaches 0. This prevents unnecessary removing & adding of the view when it just didn't appear in a result
-
-
Field Summary
Fields Modifier and Type Field Description private VisibleBarcode
visibleBarcode
-
Constructor Summary
Constructors Constructor Description BarcodeOverlayView(VisibleBarcode visibleBarcode, BarcodeOverlayListener barcodeOverlayListener, Integer removalCounter)
-
Method Summary
Modifier and Type Method Description final VisibleBarcode
getVisibleBarcode()
final Unit
setVisibleBarcode(VisibleBarcode visibleBarcode)
-
-
Constructor Detail
-
BarcodeOverlayView
BarcodeOverlayView(VisibleBarcode visibleBarcode, BarcodeOverlayListener barcodeOverlayListener, Integer removalCounter)
-
-
Method Detail
-
getVisibleBarcode
final VisibleBarcode getVisibleBarcode()
-
setVisibleBarcode
final Unit setVisibleBarcode(VisibleBarcode visibleBarcode)
-
-
-
-