ClipEntry

Class

Common
expect class ClipEntry

Platform specific protocol that expresses an item in the native Clipboard.

Properties

Common
val clipMetadata: ClipMetadata

Returns a ClipMetadata which describes the contents of this ClipEntry. This is an ideal way to check whether to accept or reject what may be pasted from the clipboard without explicitly reading the content.

Calling this function does not trigger any content access warnings on any platform.

Android
actual class ClipEntry(val clipData: ClipData)

Android specific class that contains the primary clip in android.content.ClipboardManager.

Properties

Android
actual val clipMetadata: ClipMetadata