ContentResolverDownloadSource

constructor(@NonNull context: Context, @NonNull uri: Uri)

Constructor taking a uri pointing to a content provider. The uri has to use the content:// scheme.

Parameters

context

Context for accessing the document using a content resolver.

uri

The Uri pointing to a document of a content provider.