Barcode Count Basic Overlay UI Listener

Defined in package com.scandit.datacapture.barcode.count.ui.view

Note

Using this class requires the MatrixScan AR add-on.

BarcodeCountViewUiListener
interface BarcodeCountViewUiListener

Added in version 6.15.0

onListButtonTapped(view)
fun onListButtonTapped(view: BarcodeCountView)

Added in version 6.15.0

Deprecated since version 8.5: Use method passing BarcodeCountSessionSnapshot instead.

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

onListButtonTapped(view, snapshot)
fun onListButtonTapped(view: BarcodeCountView,
        snapshot: BarcodeCountSessionSnapshot?)

Added in version 8.5.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.

onExitButtonTapped(view)
fun onExitButtonTapped(view: BarcodeCountView)

Added in version 6.15.0

Deprecated since version 8.5: Use method passing BarcodeCountSessionSnapshot instead.

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

onExitButtonTapped(view, snapshot)
fun onExitButtonTapped(view: BarcodeCountView,
        snapshot: BarcodeCountSessionSnapshot?)

Added in version 8.5.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.

onSingleScanButtonTapped(view)
fun onSingleScanButtonTapped(view: BarcodeCountView)

Added in version 6.16.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.