Interface ScanResultListener

    • Method Detail

      • 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
                                  java.lang.Throwable throwable)
        This method is called when the scanning cannot be performed because of an error.
        Parameters:
        throwable - type of error