nutrient
Toggle table of contents
10.8.0
Nutrient
Target filter
Nutrient
Switch theme
Search in API
Skip to content
nutrient
nutrient
/
com.pspdfkit.document.download.source
/
ContentResolverDownloadSource
Content
Resolver
Download
Source
class
ContentResolverDownloadSource
:
DownloadSource
A source for downloading a document from a
ContentProvider
.
Members
Constructors
Content
Resolver
Download
Source
Link copied to clipboard
constructor
(
@
NonNull
context
:
Context
,
@
NonNull
uri
:
Uri
)
Constructor taking a
uri
pointing to a content provider.
Properties
uri
Link copied to clipboard
@
NonNull
@get:
NonNull
val
uri
:
Uri
Functions
get
Length
Link copied to clipboard
open
fun
getLength
(
)
:
Long
Returns the total length of the download.
open
Link copied to clipboard
open
fun
open
(
)
:
InputStream
Opens an
InputStream
for downloading the document.
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String