DocumentsContractCompat
Helper for accessing features in DocumentsContract.
Types
Link copied to clipboard
class DocumentCompat
Helper for accessing features in DocumentsContract.Document.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Build URI representing the target COLUMN_DOCUMENT_ID in a document provider.
Link copied to clipboard
Build URI representing the target COLUMN_DOCUMENT_ID in a document provider.
Link copied to clipboard
Build URI representing access to descendant documents of the given COLUMN_DOCUMENT_ID.
Link copied to clipboard
Link copied to clipboard
Extract the COLUMN_DOCUMENT_ID from the given URI.
Link copied to clipboard
Extract the via COLUMN_DOCUMENT_ID from the given URI.
Link copied to clipboard
Checks if the given URI represents a Document backed by a DocumentsProvider.
Link copied to clipboard
open fun removeDocument(@NonNull content: ContentResolver, @NonNull documentUri: Uri, @NonNull parentDocumentUri: Uri): Boolean
Removes the given document from a parent directory.
Link copied to clipboard
open fun renameDocument(@NonNull content: ContentResolver, @NonNull documentUri: Uri, @NonNull displayName: String): Uri
Change the display name of an existing document.