Review Fragment Listener
public interface ReviewFragmentListener
Content copied to clipboard
Interface used by ReviewFragmentStandard and ReviewFragmentCompat to dispatch events to the hosting Activity.
Functions
on Document Reviewed And Analyzed
Link copied to clipboard
@Deprecated()
Content copied to clipboard
Called if you called onDocumentAnalyzed or onDocumentAnalyzed and the image wasn't changed and the user tapped on the Next button.
on Document Was Rotated
Link copied to clipboard
@Deprecated()
Content copied to clipboard
Called when the user rotated the image.
on Error
Link copied to clipboard
Called when an error occurred.
on Extractions Available
Link copied to clipboard
@Deprecated()
Content copied to clipboard
Called when the document has been analyzed and extractions are available.
on Proceed To Analysis Screen
Link copied to clipboard
@Deprecated()
Content copied to clipboard
Called if you didn't call onDocumentAnalyzed or onDocumentAnalyzed (or the image was changed) and the user tapped on the Next button.
abstract void onProceedToAnalysisScreen(@NonNull() Document document, @Nullable() String errorMessage)
Content 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.
on Proceed To No Extractions Screen
Link copied to clipboard
@Deprecated()
Content copied to clipboard
Called when the document has been analyzed and no extractions were received.
on Should Analyze Document
Link copied to clipboard
@Deprecated()
Content copied to clipboard
Called when the Review Fragment was started and you should start analyzing the original document by sending it to the Gini API.
Inheritors
ReviewActivity
Link copied to clipboard