Barcode Find Listener

Defined in package com.scandit.datacapture.barcode.find.capture

BarcodeFindListener
interface BarcodeFindListener

Added in version 6.18.0

Listener interface for BarcodeFind.

onSearchStarted()
fun onSearchStarted()

Added in version 6.18.0

Invoked whenever the search process has been started.

This method is invoked from a recognition internal thread. To perform UI work, you must dispatch to the main thread first.

onSearchPaused(foundItems)
fun onSearchPaused(foundItems: Set<BarcodeFindItem>)

Added in version 6.18.0

Invoked whenever the search process has been paused. The foundItems parameter contains all the items found on the last processed camera frame.

This method is invoked from a recognition internal thread. To perform UI work, you must dispatch to the main thread first.

onSearchStopped(foundItems)
fun onSearchStopped(foundItems: Set<BarcodeFindItem>)

Added in version 6.18.0

Invoked whenever the search process has been stopped. The foundItems parameter contains all the items found since the start of the process.

This method is invoked from a recognition internal thread. To perform UI work, you must dispatch to the main thread first.

onSessionUpdated(session)
fun onSessionUpdated(session: BarcodeFindSession)

Added in version 7.4.0

Invoked on each frame. The session parameter contains the currently tracked barcodes.

This method is invoked from a recognition internal thread. To perform UI work, you must dispatch to the main thread first.