logClick

abstract fun logClick(): Boolean

Logs a click on this in-app message. Clicks (either with or without button IDs) may only be logged once per in-app message instance.

See logImpression

Return

true iff the click was successfully logged.


abstract fun logClick(buttonId: String): Boolean

Logs a button click on this in-app message. Clicks (either with or without button IDs) may only be logged once per in-app message instance.

See logImpression, logClick

Return

true iff the click was successfully logged.

Parameters

buttonId

The id of the button clicked, if present. If null, defaults to logging a body click.