PdfDocument.OnEditAppliedListener


public interface PdfDocument.OnEditAppliedListener


Interface definition for a callback that notifies when an edit is applied using the EditablePdfDocument.applyEdits method.

Summary

Public methods

abstract void
onEditApplied(int pageNum, @NonNull String editId)

Called when an edit is applied on the document.

Public methods

onEditApplied

Added in 1.0.0-alpha19
abstract void onEditApplied(int pageNum, @NonNull String editId)

Called when an edit is applied on the document. The order of the callback is preserved according to the order of the sorted list returned by EditsDraft.getOperationsSortedByPage.

Parameters
int pageNum

page number where the annotation is applied.

@NonNull String editId

id of the annotation that was applied.