PdfDocument.OnEditAppliedListener


@ExperimentalPdfApi
interface PdfDocument.OnEditAppliedListener


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

Summary

Public functions

Unit
onEditApplied(pageNum: Int, editId: String)

Called when an edit is applied on the document.

Public functions

onEditApplied

Added in 1.0.0-beta01
fun onEditApplied(pageNum: Int, editId: String): Unit

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
pageNum: Int

page number where the annotation is applied.

editId: String

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