copyText

Function

Common
fun SemanticsPropertyReceiver.copyText(label: String? = null, action: (() -> Boolean)?)

Action to copy the text to the clipboard.

Parameters

labelOptional label for this action.
actionAction to be performed when the SemanticsActions.CopyText is called.