ClipboardManager

open class ClipboardManager

Manager for controlling system clipboard. Is open so that platform could provide an override if default doesn't fit.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getText(): String?

Get current system clipboard content as text.

Link copied to clipboard
open fun hasText(): Boolean

Returns true, if clipboard contains text

Link copied to clipboard
open fun setText(text: String)

Set current system clipboard content as text.