Barcode AR Listener

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

BarcodeArListener
interface BarcodeArListener

Added in version 7.1.0

Listener interface for BarcodeAr.

onSessionUpdated(barcodeAr, session, frameData)
fun onSessionUpdated(barcodeAr: BarcodeAr,
        session: BarcodeArSession,
        frameData: FrameData)

Added in version 7.1.0

Invoked whenever the session has been updated.

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

onObservationStarted(barcodeAr)
fun onObservationStarted(barcodeAr: BarcodeAr)

Added in version 7.1.0

Called when the listener starts observing the BarcodeAr session.

onObservationStopped(barcodeAr)
fun onObservationStopped(barcodeAr: BarcodeAr)

Added in version 7.1.0

Called when the listener stops observing the BarcodeAr session.