I am implementing IInAppMessageManagerListener
interface and want to handle the method onInAppMessageButtonClicked
, but I want to know the button the user pressed (Button1 or Button2) to be able to handle each one with different handling.
How can I do that ?
You can use the button id (with
MessageButton.getId()
mehtod) to know which one is pressed.