getOneFile
suspend fun getOneFile(vararg mimeTypes: String, permissions: List<PermissionsType> = listOf()): PickerResponse?
Function get one file and return Uri
Return
android.net.Uri] resource picked
Parameters
mimeTypes
List of mime types that will be used to filter the files
Throws
if user cancel operation and return is not Activity.RESULT_OK
if activity is not properly tracked and can't get to apply start activity for result
Always return this error but inside there is a cause with all type errors to be able to wrap properly