Package-level declarations

Types

Link copied to clipboard

A utility that downloads files from the given url.

Functions

Link copied to clipboard
fun <Error class: unknown class>.checkFileExists(uri: <Error class: unknown class>): Boolean
Link copied to clipboard
fun <Error class: unknown class>.copyToCachedDir(context: <Error class: unknown class>): File

Copies the file from the given Uri to the cache directory. The copied file name will be from the given Uri or a temporary file name if the file name is not available.

Link copied to clipboard
fun <Error class: unknown class>.createMediaFileUri(isVideo: Boolean): <Error class: unknown class>?

Creates a new media file Uri.

Link copied to clipboard
fun <Error class: unknown class>.getViewerIntent(mimeType: String): <Error class: unknown class>

Returns the Intent to view the file from the given Uri.