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
File |
|
inline Uri |
Creates a Uri from the given encoded URI string. |
inline Uri |
Creates a Uri from the given file. |
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.
toUri
inline fun String.toUri(): Uri
Creates a Uri from the given encoded URI string.
| See also | |
|---|---|
parse |