Interface ScanResultListener

All Known Subinterfaces:
ParcelableScanResultListener, ScanningOverlay
All Known Implementing Classes:
BaseOverlayController, BlinkIdOverlayController

public interface ScanResultListener
Listener that will be notified when recognition is done.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onScanningDone(RecognitionSuccessType recognitionSuccessType)
    This method is called when recognition is done.
    void
    This method is called when the scanning cannot be performed because of an error.
  • Method Details

    • onScanningDone

      void onScanningDone(@NonNull RecognitionSuccessType recognitionSuccessType)
      This method is called when recognition is done. This method might be called on background thread or main thread, depending on the type of scan.
      Parameters:
      recognitionSuccessType - indicates the success type of recognition
    • onUnrecoverableError

      void onUnrecoverableError(@NonNull Throwable throwable)
      This method is called when the scanning cannot be performed because of an error.
      Parameters:
      throwable - type of error