fromUri

open fun fromUri(@NonNull documentUri: Uri): DocumentDescriptor

Creates descriptor for document loaded from URI.

Parameters

documentUri

Uri of the PDF file.


open fun fromUri(@NonNull documentUri: Uri, @Nullable password: String): DocumentDescriptor

Creates descriptor for document loaded from URI.

Parameters

documentUri

Uri of the PDF file.

password

Passwords of the document to open, may be null.