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()
void 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)
void onSearchPaused(@NonNull Set<@NonNull BarcodeFindItem> foundItems)

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)
void onSearchStopped(@NonNull Set<@NonNull BarcodeFindItem> foundItems)

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.