Barcode Count Basic Overlay UI Listener

Defined under the namespace Scandit.Datacapture.Barcode.Count.Ui

Note

Using this class requires the MatrixScan AR add-on.

BarcodeCountViewUiListener
interface BarcodeCountViewUiListener

Added in version 6.17.0

didTapListButton(view, snapshot)
didTapListButton?(view: BarcodeCountView,
        snapshot: BarcodeCountSessionSnapshot | null): void

Added in version 8.7.0

Callback method that can be used to define an action that should be performed once the list button is tapped. Receives an immutable BarcodeCountSessionSnapshot of the session at the moment of the tap. Called from the main thread.

The snapshot parameter was added in 8.7. The callback itself is available since react-native=6.17, capacitor=6.18, cordova=6.24.

didTapExitButton(view, snapshot)
didTapExitButton?(view: BarcodeCountView,
        snapshot: BarcodeCountSessionSnapshot | null): void

Added in version 8.7.0

Callback method that can be used to define an action that should be performed once the exit button is tapped. Receives an immutable BarcodeCountSessionSnapshot of the session at the moment of the tap. Called from the main thread.

The snapshot parameter was added in 8.7. The callback itself is available since react-native=6.17, capacitor=6.18, cordova=6.24.

didTapSingleScanButton(view)
didTapSingleScanButton?(view: BarcodeCountView): void

Added in version 6.17.0

Callback method that can be used to define an action that should be performed once the single scan button is tapped. Called from the main thread.