onDocumentAnalyzed

void onDocumentAnalyzed()

You should call this method after you've received the analysis results from the Gini API.

This is important for managing the behavior of the Review Document Fragment when the Next button was clicked.

If the document has already been analyzed and the image wasn't changed when the user tapped the Next button, onDocumentReviewedAndAnalyzed is called and there is no need to show an AnalysisActivity or or AnalysisFragmentCompat.

If the document wasn't analyzed or the image was changed when the user tapped the Next button, onProceedToAnalysisScreen is called.

Deprecated

When a GiniVision instance is available the document is analyzed internally by using the configured GiniVisionNetworkService implementation. The extractions will be returned in the Analysis Screen in onExtractionsAvailable.