Class

ClipEntry

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

Source set: Common
expect class ClipEntry

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

Properties

clipMetadata

Source set: 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.

Source set: Android
actual class ClipEntry(val clipData: ClipData)

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

Properties

clipMetadata

Source set: Android
actual val clipMetadata: ClipMetadata

Last updated: