- parentDocumentId
- the parent directory to create the new document under.
- mimeType
- the concrete MIME type associated with the new document. If the MIME type is not supported, the provider must throw.
- displayName
- the display name of the new 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
Create a new document and return its newly generated NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#COLUMN_DOCUMENT_ID. You must allocate a new NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#COLUMN_DOCUMENT_ID to represent the document, which must not change once returned.