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 Type
    Method
    Description
    void
    onFailure(DigifiedError digifiedError)
    This method is called when there is a problem with the API call
    void
    onResult(T result)
    This method is called when the API request was successful and we have the response
  • Method Details

    • onResult

      void onResult(T result)
      This method is called when the API request was successful and we have the response
      Parameters:
      result - the result from the API request of type DigifiedCallback that extends BaseDigifiedResult
    • onFailure

      void onFailure(DigifiedError digifiedError)
      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 here ErrorConstants)