Interface CaptureCallback
-
public interface CaptureCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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
onTimeout()
This method is called if the time out of the capture process has passed
-
-
-
Method Detail
-
onCaptured
void onCaptured(CaptureResult captureResult)
This method is called when we have a successful CaptureResult- Parameters:
captureResult
- the capture result of your capture request
-
onFailed
void onFailed(DigifiedError digifiedError, int captureType)
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
-
-