AnalysisFragmentListener

public interface AnalysisFragmentListener

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

Functions

onAnalyzeDocument
Link copied to clipboard
abstract void onAnalyzeDocument(@NonNull() Document document)
Called when the Analyze Document Fragment is started and the document can be analyzed.
onDefaultPDFAppAlertDialogCancelled
Link copied to clipboard
abstract void onDefaultPDFAppAlertDialogCancelled()
Called when the default PDF app alert dialog was cancelled.
onError
Link copied to clipboard
abstract void onError(@NonNull() GiniVisionError error)
Called when an error occurred.
onExtractionsAvailable
Link copied to clipboard
abstract void onExtractionsAvailable(@NonNull() Map<String, GiniVisionSpecificExtraction> extractions)
Called when the document has been analyzed and extractions are available.
onProceedToNoExtractionsScreen
Link copied to clipboard
abstract void onProceedToNoExtractionsScreen(@NonNull() Document document)
Called when the document has been analyzed and no extractions were received.

Inheritors

AnalysisActivity
Link copied to clipboard