onLongClick
Source set: Common
public fun SemanticsPropertyReceiver.onLongClick(
label: String? = null,
action: (() -> Boolean)?,
): Unit
Action to be performed when the node is long clicked (long-pressed).
Parameters
| label | Optional label for this action. |
| action | Action to be performed when the SemanticsActions.OnLongClick is called. |