URLDownloadSource

Download using a URL (usually from the web). This source uses URL#openConnection() to access the PDF resource.

Constructors

Link copied to clipboard
constructor(@NonNull documentURL: URL)
Constructs the download source based on a URL.

Functions

Link copied to clipboard
open fun getLength(): Long
Returns the total length of the download.
Link copied to clipboard
open fun open(): InputStream
Opens an InputStream for downloading the document.
Link copied to clipboard
open fun toString(): String