Companion

object Companion

Properties

Link copied to clipboard
val EMPTY: Uri

The empty URI, equivalent to "".

Functions

Link copied to clipboard
fun fromParts(scheme: String?, ssp: String?, fragment: String?): Uri

Creates an opaque Uri from the given components. Encodes the ssp which means this method cannot be used to create hierarchical URIs.

Link copied to clipboard
fun parse(uriString: String): Uri
Link copied to clipboard
fun parseOrNull(uriString: String): Uri?