Barcode Count View Listener
Defined in namespace Scandit.DataCapture.Barcode.Count.UI.View
Note
Using this class requires the MatrixScan AR add-on.
- IBarcodeCountViewListener
interface IBarcodeCountViewListener
Added in version 6.19.0
- BrushForRecognizedBarcode()
Brush BrushForRecognizedBarcode(BarcodeCountView view, TrackedBarcode trackedBarcode)
Added in version 6.19.0
This method is called only when the view uses the BarcodeCountViewStyle.Dot style.
Callback method that can be used to set a Brush for a recognized barcode. When setting a BarcodeCountCaptureList to the mode, this brush will be used for recognized barcodes that are part of the target list. It is called when a new recognized barcode appears. Called from the rendering thread. If the callback returns null, then no visualization will be drawn for the recognized barcode. Additionally, tapping on the barcode will have no effect - the action defined by OnRecognizedBarcodeTapped() callback will not be performed.
- BrushForUnrecognizedBarcode()
Brush BrushForUnrecognizedBarcode(BarcodeCountView view, TrackedBarcode trackedBarcode)
Added in version 6.19.0
This method is called only when the view uses the BarcodeCountViewStyle.Dot style.
Callback method that can be used to set a Brush for an unrecognized barcode. It is called when a new unrecognized barcode appears. Called from the rendering thread. If the callback returns null, then no visualization will be drawn for the unrecognized barcode. Additionally, tapping on the barcode will have no effect - the action defined by OnUnrecognizedBarcodeTapped() callback will not be performed.
- BrushForRecognizedBarcodeNotInList()
Brush BrushForRecognizedBarcodeNotInList(BarcodeCountView view, TrackedBarcode trackedBarcode)
Added in version 6.19.0
This method is called only when the view uses the BarcodeCountViewStyle.Dot style.
Callback method that can be used to set a Brush for a recognized barcode that’s not part of the target BarcodeCountCaptureList. It is called when a new recognized barcode that is not part of the target :type:barcode.count.BarcodeCountCaptureList appears. When BarcodeCountCaptureList is not set, this method will never be called. Called from the rendering thread. If the callback returns null, then no visualization will be drawn for the recognized barcode. Additionally, tapping on the barcode will have no effect - the action defined by OnRecognizedBarcodeNotInListTapped() callback will not be performed.
- OnRecognizedBarcodeTapped()
void
OnRecognizedBarcodeTapped(BarcodeCountView view, TrackedBarcode trackedBarcode)Added in version 6.19.0
Callback method that can be used to define an action that should be performed once a recognized barcode is tapped. When setting a BarcodeCountCaptureList to the mode, this method will be called only when tapping recognized barcodes that are part of the target list. Called from the main thread.
- OnUnrecognizedBarcodeTapped()
void
OnUnrecognizedBarcodeTapped(BarcodeCountView view, TrackedBarcode trackedBarcode)Added in version 6.19.0
Callback method that can be used to define an action that should be performed once an unrecognized barcode is tapped. Called from the main thread.
- OnFilteredBarcodeTapped()
void
OnFilteredBarcodeTapped(BarcodeCountView view, TrackedBarcode filteredBarcode)Added in version 6.19.0
Callback method that can be used to define an action that should be performed once a filtered barcode is tapped. Called from the main thread.
- OnRecognizedBarcodeNotInListTapped()
void
OnRecognizedBarcodeNotInListTapped(BarcodeCountView view, TrackedBarcode trackedBarcode)Added in version 6.19.0
Callback method that can be used to define an action that should be performed once a recognized barcode that’s not part of the target BarcodeCountCaptureList is tapped. When BarcodeCountCaptureList is not set, this method will never be called. Called from the main thread.
- OnCaptureListCompleted()
void
OnCaptureListCompleted(BarcodeCountView view)Added in version 6.19.0
Callback method that can be used to define an action that should be performed when all the items of a capture list have been correctly scanned. If there is no capture list set, this method will never be called. Called from the main thread.