ReviewFragmentListener

public interface ReviewFragmentListener

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

Functions

onError
Link copied to clipboard
abstract void onError(@NonNull() GiniCaptureError error)
Called when an error occurred.
onProceedToAnalysisScreen
Link copied to clipboard
abstract void onProceedToAnalysisScreen(@NonNull() Document document, @Nullable() String errorMessage)
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.

Inheritors

ReviewActivity
Link copied to clipboard