androidx.core.net
Classes
ConnectivityManagerCompat |
Helper for accessing features in |
MailTo |
MailTo URI parser. |
TrafficStatsCompat |
Helper for accessing features in |
UriCompat |
Helper for accessing function in |
Exceptions
ParseException |
Thrown when parsing a mailto URI has failed. |
Extension functions summary
For android.net.Uri | |
File |
For java.io.File | |
Uri |
Creates a Uri from the given file. |
For kotlin.String | |
Uri |
Creates a Uri from the given encoded URI string. |
Extension functions
toFile
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.