RichUtils / pyxis.uzuki.live.richutilskt.utils / android.net.Uri

Extensions for android.net.Uri

getRealPath

infix fun Uri.getRealPath(context: Context): String

Get real sd-card path from DocumentsProvider, MediaStore Uris, and other file-based ContentProviders.