Function

hasMediaType

hasMediaType

Source set: Android
public fun TransferableContent.hasMediaType(mediaType: MediaType): Boolean

hasMediaType

Source set: Common
public fun TransferableContent.hasMediaType(mediaType: MediaType): Boolean

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

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: