Package com.microblink.view.recognition
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onScanningDone(RecognitionSuccessType recognitionSuccessType)
This method is called when recognition is done.void
onUnrecoverableError(java.lang.Throwable throwable)
This method is called when the scanning cannot be performed because of an error.
-
-
-
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
-
-