core-ktx / androidx.os / java.io.File / toUri

toUri

inline fun File.toUri(): Uri

Creates a Uri from the given file.

See Also

Uri.fromFile