on Proceed To Analysis Screen
          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 wasrotated
You should start your Activity extending AnalysisActivity and set the document asthe EXTRA_IN_DOCUMENT extra.
 
Parameters
document
contains the reviewed image (can be the original one or a modifiedimage)
errorMessage
an optional error message to be passed to the Analysis Screen