AnalysisFragmentListener

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

public interface AnalysisFragmentListener

Functions

onDefaultPDFAppAlertDialogCancelled
Link copied to clipboard

Called when the default PDF app alert dialog was cancelled. You should close the AnalysisFragment because the user decided not to continue with analysis.

This alert dialog is shown for PDFs imported from another app when your app was set as default for opening PDFs.

abstract void onDefaultPDFAppAlertDialogCancelled()
onError
Link copied to clipboard

Called when an error occurred.

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

Called when the document has been analyzed and extractions are available.

onProceedToNoExtractionsScreen
Link copied to clipboard

Called when the document has been analyzed and no extractions were received.

You should show the NoResultsFragmentCompat .

abstract void onProceedToNoExtractionsScreen(Document document)

Inheritors

AnalysisActivity
Link copied to clipboard