Review Fragment Listener
Interface used by ReviewFragmentCompat to dispatch events to the hosting Activity.
Functions
Link copied to clipboard
Called when an error occurred.
Link copied to clipboard
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.