Package-level declarations
Properties
Link copied to clipboard
Link copied to clipboard
Checks if external storage is available to at least read
Link copied to clipboard
Checks if external storage is available for read and write
Link copied to clipboard
Checks if Environment.MEDIA_MOUNTED is returned by getExternalStorageState()
and therefore external storage is read- and writable.
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Take flags
Link copied to clipboard
Called after receiving the uri in onActivityResult when called by createFile
Link copied to clipboard
Link copied to clipboard
If you have the URI for a document and the document's Document.COLUMN_FLAGS contains SUPPORTS_DELETE
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Reads the contents of virtual file, check if it's virtual file first use isVirtualFile
Link copied to clipboard
Checks if file is virtual, from Google drive etc... use getInputStreamForVirtualFile to read its contents
Link copied to clipboard
fun Activity.openDirectory(requestCode: Int, text: String = "Open directory with...", onCantHandleAction: () -> Unit = {})
Link copied to clipboard
fun Activity.openDocument(requestCode: Int, text: String = "Open document with...", onCantHandleAction: () -> Unit = {})
Link copied to clipboard
fun Activity.pickMultipleImages(requestCode: Int, text: String = "Pick images with...", onCantHandleAction: () -> Unit = {})
Link copied to clipboard
Link copied to clipboard
Sets the uri for read permission flags
Link copied to clipboard
Sets the uri for read/write permission flags
Link copied to clipboard
Sets the uri for write permission flags