public interface

ComparisonDialogListener

com.pspdfkit.document.processor.ComparisonDialogListener

Summary

Public Methods
abstract void onComparisonSuccessful(DocumentSource comparisonDocument)
Gets called when the document alignment and comparison process has been completed.
abstract void onError(Throwable error)
Gets called when the Comparison doesn't go as expected.

Public Methods

public abstract void onComparisonSuccessful (DocumentSource comparisonDocument)

Gets called when the document alignment and comparison process has been completed. The provided comparisonDocument can be used to display the final comparison results in the UI.

Parameters
comparisonDocument Comparison results document source.

public abstract void onError (Throwable error)

Gets called when the Comparison doesn't go as expected. The provided error holds additional information about the problem.

Parameters
error The error object containing a description of what went wrong.