PdfDocument.OnEditAppliedListener


@ExperimentalPdfApi
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-beta01
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 provided list of EditsDraft.

Parameters
int pageNum

page number where the annotation is applied.

@NonNull String editId

The unique identifier of the target created or modified by this edit (e.g., an annotation ID)