getPath

fun getPath(context: Context, uri: Uri, fileIOProcessor: FileIOProcessor): String?

Get a file path from a Uri. This will get the the path for Storage Access Framework Documents, as well as the _data field for the MediaStore and other file-based ContentProviders.

Parameters

context

The context.

uri

The Uri to query.