Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

androidx.core.net

Classes

ConnectivityManagerCompat

Helper for accessing features in ConnectivityManager.

MailTo

MailTo URI parser.

TrafficStatsCompat

Helper for accessing features in TrafficStats.

UriCompat

Helper for accessing function in Uri in a backwards compatible fashion.

Exceptions

ParseException

Thrown when parsing a mailto URI has failed.

Extension functions summary

For android.net.Uri
File

Creates a File from the given Uri.

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.

toUri

inline fun File.toUri(): Uri

Creates a Uri from the given file.

See Also

toUri

inline fun String.toUri(): Uri

Creates a Uri from the given encoded URI string.

See Also