Interface CaptureCallback
public interface CaptureCallback
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCancelled
(int captureType) This method is called when the user pauses the app during capturing requestvoid
onCaptured
(CaptureResult captureResult) This method is called when we have a successful CaptureResultvoid
onFailed
(DigifiedError digifiedError, int captureType) This method is called when there is a problem with the capture requestvoid
This method is called if the time out of the capture process has passed
-
Method Details
-
onCaptured
This method is called when we have a successful CaptureResult- Parameters:
captureResult
- the capture result of your capture request
-
onFailed
This method is called when there is a problem with the capture request- Parameters:
digifiedError
- the error that caused the request to fail (you can find error codes hereErrorConstants
)captureType
- the capture type you wanted to capture (you can find capture types hereDigifiedConstants.CaptureType
-
onCancelled
void onCancelled(int captureType) This method is called when the user pauses the app during capturing request- Parameters:
captureType
- the capture type you wanted to capture (you can find capture types hereDigifiedConstants.CaptureType
-
onTimeout
void onTimeout()This method is called if the time out of the capture process has passed
-