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
@Nullable
Build URI representing the children of the target directory in a document provider.
Link copied to clipboard
@Nullable
Build URI representing the children of the target directory in a document provider.
Link copied to clipboard
@Nullable
Build URI representing the target COLUMN_DOCUMENT_ID in a document provider.
Link copied to clipboard
@Nullable
Build URI representing the target COLUMN_DOCUMENT_ID in a document provider.
Link copied to clipboard
@Nullable
Build URI representing access to descendant documents of the given COLUMN_DOCUMENT_ID.
Link copied to clipboard
@Nullable
Create a new document with given MIME type and display name.
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: @NonNull ContentResolver, @NonNull documentUri: @NonNull Uri, @NonNull parentDocumentUri: @NonNull Uri): Boolean
Removes the given document from a parent directory.
Link copied to clipboard
@Nullable
Change the display name of an existing document.