getCopiedText

abstract suspend fun getCopiedText(): String?

Returns the current text from the system clipboard.

Return

The copied text, or null if the clipboard is empty or unavailable.