firstUriOrNull
Function
Android
@ExperimentalComposeUiApi
fun ClipEntry.firstUriOrNull(): Uri?
Returns the first non-null Uri
from the list of ClipData.Item
s in this ClipEntry
.
ClipEntry can contain single or multiple ClipData.Item
s. This function is useful when you are
only interested in processing just a single Uri
item inside the ClipEntry
.
It's advised that you consider checking all the items inside ClipEntry.clipData
to thoroughly
process a given ClipEntry
.