Scoop API

scoop:scoop.window:0.1.0

Clipboard

class Clipboard

source · line 12
public
public class Clipboard internal constructor(private val owner: ApplicationOwner)

System clipboard text with shared ownership and standard media type mapping.

function readText

source · line 14
public
public fun readText(mediaType: String = "text/plain"): String?

Reads a text representation; absence and an existing empty string are distinct.