setDocument

open fun setDocument(@Nullable document: PdfDocument, @NonNull configuration: PdfConfiguration)

Called when the document has been loaded and is going to be displayed. This has to be called on the main thread.

Parameters

document

Loaded PdfDocument.

configuration

Containing document and presentation settings.