determineFilePath

Returns the path of a given uri. (Can be a file, content and document uri)

Return

The path of the given uri as a string.

Parameters

context

The current context.

uri

The uri which you want the path of.

fun determineFilePath(context: <ERROR CLASS>, uri: <ERROR CLASS>): String?