DocumentDataProvider

Interface for providing detail data for a PDF document.

Properties

Link copied to clipboard
abstract val pageCount: Int

returns the total number of pages in the document

Link copied to clipboard
abstract val title: String

returns the title of the document

Link copied to clipboard
abstract val uid: String

returns the unique identifier of the document

Functions

Link copied to clipboard
abstract fun getBitmap(index: Int, bitmapCallback: (Bitmap) -> Unit)

returns the bitmap of the page at the given index

Link copied to clipboard
abstract fun getPageSize(index: Int): Size?

returns the size of the page in pdf points at the given index