Package-level declarations

Functions

Link copied to clipboard
fun Uri.toFile(): File

Creates a File from the given Uri. Note that this will throw an IllegalArgumentException when invoked on a Uri that lacks file scheme.

Link copied to clipboard
inline fun File.toUri(): Uri

Creates a Uri from the given file.

inline fun String.toUri(): Uri

Creates a Uri from the given encoded URI string.