Clipboard

interface Clipboard(source)

Interface representing a clipboard for accessing and modifying its contents.

The Clipboard interface provides a way to interact with the system clipboard. It allows getting and setting of clipboard contents in the form of a string.

Inheritors

Properties

Link copied to clipboard
abstract var contents: String?

The textual contents of the clipboard. Can be set to store a string in the clipboard, or retrieved to access the current contents. If no content exists, it may return null.