Interface DigifiedCallback<T extends BaseDigifiedResult>
- All Known Subinterfaces:
FaceMatchCallback
,GenericIdExtractionCallback
,IdExtractionCallback
,InitializeCallback
,PassportExtractionCallback
,TransliterationCallback
,VehicleLicenseExtractionCallback
public interface DigifiedCallback<T extends BaseDigifiedResult>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFailure
(DigifiedError digifiedError) This method is called when there is a problem with the API callvoid
This method is called when the API request was successful and we have the response
-
Method Details
-
onResult
This method is called when the API request was successful and we have the response- Parameters:
result
- the result from the API request of typeDigifiedCallback
that extendsBaseDigifiedResult
-
onFailure
This method is called when there is a problem with the API call- Parameters:
digifiedError
- the error that caused the request to fail (you can find error codes hereErrorConstants
)
-