- documentId
- the document to rename.
- displayName
- the updated display name of the document. The provider may alter this name to meet any internal constraints, such as avoiding conflicting names.
Documentation for this section has not yet been entered.
Type Reason Java.IO.FileNotFoundException
Rename an existing document.
If a different NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#COLUMN_DOCUMENT_ID must be used to represent the renamed document, generate and return it. Any outstanding URI permission grants will be updated to point at the new document. If the original NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#COLUMN_DOCUMENT_ID is still valid after the rename, return null.