ReviewFragmentListener

Interface used by ReviewFragmentCompat to dispatch events to the hosting Activity.

public interface ReviewFragmentListener

Functions

onError
Link copied to clipboard

Called when an error occurred.

abstract void onError(GiniCaptureError error)
onProceedToAnalysisScreen
Link copied to clipboard

Called when the user tapped on the Next button and one of the following conditions apply:

  • Analysis is in progress
  • Analysis completed with an error
  • The image was rotated

    You should start your Activity extending AnalysisActivity and set the document as the EXTRA_IN_DOCUMENT extra.

abstract void onProceedToAnalysisScreen(Document document, String errorMessage)

Inheritors

ReviewActivity
Link copied to clipboard