asDocumentFile

Create a DocumentFile representing the filesystem tree rooted at the given File. This doesn't give you any additional access to the underlying files beyond what your app already has.

Receiver

File

Return

DocumentFile