uri
Sets the download source from a Uri.
Valid URI examples:
- Content provider:
content://com.pspdfkit.viewer/documents/demo.pdf
- Asset paths:
file://android_asset/demo.pdf
- Web URLs:
https://www.example.com/demo.pdf
Parameters
uri
Uri of the document to download.
Throws
If the given uri
was unrecognized or invalid.
Same as uri but parses the given String to a Uri.
Parameters
uri
A string representation of a Uri.