release

Releases PSPDFKit library and all associated caches from memory.

BE WARNED: After this call all existing com.pspdfkit.document.PdfDocument instances WILL be invalid and calling methods on them will result in a crash.


fun release(context: Context)

Deprecated

v2024.2: Will be removed in a future release.

Replace with

release()

Releases PSPDFKit library and all associated caches from memory.