ContentResolverDownloadSource

A source for downloading a document from a ContentProvider.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @NonNull uri: Uri)
Constructor taking a uri pointing to a content provider.

Properties

Link copied to clipboard

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