PdfDocument.OnEditAppliedListener


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-alpha19
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 sorted list returned by EditsDraft.getOperationsSortedByPage.

Parameters
pageNum: Int

page number where the annotation is applied.

editId: String

id of the annotation that was applied.