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 TypeMethodDescriptionvoid
onScanningDone
(RecognitionSuccessType recognitionSuccessType) This method is called when recognition is done.void
onUnrecoverableError
(Throwable throwable) This method is called when the scanning cannot be performed because of an error.
-
Method Details
-
onScanningDone
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
This method is called when the scanning cannot be performed because of an error.- Parameters:
throwable
- type of error
-