AnalysisFragmentInterface

public interface AnalysisFragmentInterface

Methods which both Analysis Fragments must implement.

Functions

hideError
Link copied to clipboard
abstract void hideError()
Call this method to hide the error shown before with showError or showError.
onDocumentAnalyzed
Link copied to clipboard
abstract void onDocumentAnalyzed()
You should call this method after you've received the analysis results from the Gini API.
onNoExtractionsFound
Link copied to clipboard
abstract void onNoExtractionsFound()
You should call this method after you've received the analysis results from the Gini API without the required extractions.
setListener
Link copied to clipboard
abstract void setListener(@NonNull() AnalysisFragmentListener listener)
Set a listener for analysis events.
showError
Link copied to clipboard
abstract void showError(@NonNull() String message, int duration)
Call this method when you need to show an error message to the user in the Analysis Screen.
abstract void showError(@NonNull() String message, @NonNull() String buttonTitle, @NonNull() View.OnClickListener onClickListener)
Call this method when you need to show an error message with an invokable action to the user in the Analysis Screen.
startScanAnimation
Link copied to clipboard
abstract void startScanAnimation()
You should call this method when you start the document analysis using the Gini API.
stopScanAnimation
Link copied to clipboard
abstract void stopScanAnimation()
You should call this method when the document analysis has finished.

Inheritors

AnalysisFragmentCompat
Link copied to clipboard
AnalysisActivity
Link copied to clipboard
AnalysisFragmentStandard
Link copied to clipboard