onButtonTap

abstract fun onButtonTap(buttonId: String, reportingMetadata: JsonValue?, state: LayoutData)

Called when a button is tapped.

Parameters

buttonId

The button Id.

reportingMetadata

Optional reporting metadata.

state

The layout state.