getFileFromContentUri

Retrieves a File object from the given content URI.

Return

The File object representing the content URI.

Parameters

contentUri

The content URI of the file.

Throws

If the content URI cannot be opened or file cannot be created.

If there is an error during file operations.

If there are insufficient permissions to access the content.