Document Sharing Provider
Provider allowing access to shared files. To use this provider you just need to add this to your AndroidManifest.xml
:
<provider
android:name="com.pspdfkit.document.sharing.DocumentSharingProvider"
android:authorities="[your application package name].pdf.share"
android:exported="true"
android:grantUriPermissions="true" />
Content copied to clipboard
Functions
Link copied to clipboard
Tests if DocumentSharingProvider is configured correctly in
AndroidManifest.xml
.Link copied to clipboard
Link copied to clipboard
Returns authority for this DocumentSharingProvider.
Link copied to clipboard
Returns directory from which DocumentSharingProvider can share files.
Link copied to clipboard
Returns directory from which DocumentSharingProvider can share temporary files.
Link copied to clipboard
Return a content URI for a file stored in getSharedFileDirectory directory.