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)
void onSessionUpdated(@NonNull BarcodeAr barcodeAr,
        @NonNull BarcodeArSession session,
        @NonNull 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)
void onObservationStarted(@NonNull BarcodeAr barcodeAr)

Added in version 7.1.0

Called when the listener starts observing the BarcodeAr session.

onObservationStopped(barcodeAr)
void onObservationStopped(@NonNull BarcodeAr barcodeAr)

Added in version 7.1.0

Called when the listener stops observing the BarcodeAr session.