setCustomPdfSource

fun setCustomPdfSource(source: DocumentSource? = null)

Sets the custom source for the PDF file. if you pass null in the source param, it will refresh the document by using same source.

Parameters

source

PDF document source.