Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. 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