Function

hasMediaType

Returns whether this TransferableContent can provide an item with the mediaType.

hasMediaType

Source set: Common
@ExperimentalFoundationApi
expect fun TransferableContent.hasMediaType(mediaType: MediaType): Boolean

Returns whether this TransferableContent can provide an item with the mediaType.

hasMediaType

Source set: Android
@ExperimentalFoundationApi
actual fun TransferableContent.hasMediaType(mediaType: MediaType): Boolean

Last updated: