apidocs / com.nimmsta.core.android.files / FilesUtil

FilesUtil

object FilesUtil

Describe this file

Author
NIMMSTA Team

Copyright
NIMMSTA GmbH & IBPG 2020

License
NIMMSTA GmbH

Functions

getFilenameFromContentUri

gets filename from content-resolver uri.

fun getFilenameFromContentUri(context: Context, uri: Uri): String?

getPathFromContentURI

gets real file path from content resolver uri. These uris are generated by applications, when

fun getPathFromContentURI(context: Context, uri: Uri): String?

isDownloadsDocument

fun isDownloadsDocument(uri: Uri): Boolean

isExternalStorageDocument

fun isExternalStorageDocument(uri: Uri): Boolean

isGooglePhotosUri

fun isGooglePhotosUri(uri: Uri): Boolean

isMediaDocument

fun isMediaDocument(uri: Uri): Boolean