getSize

abstract fun getSize(): Long

Return the actual file size of the PDF document which is provided by this data provider. If the data provider can't determine the correct file size (e.g. in case of an error) this method has to return FILE_SIZE_UNKNOWN.

Return

Returns size of PDF document data in bytes, or FILE_SIZE_UNKNOWN in case of an error.