logButtonClick

open override fun logButtonClick(messageButton: MessageButton): Boolean

Logs a click on this message button.

Message button clicks may only be logged once per in-app message before requiring a reset to re-enable logging. To log multiple clicks to the same IInAppMessage, for example, when the same IInAppMessage instance is used to back multiple in-app messages shown to the user, use .resetAnalytics

Return

true iff the click was successfully logged.

See also

Parameters

messageButton

The buttong that was clicked