setOnMessageClickListener

Registers/Unregisters a callback to be notified for message click event. This API sets the listener for the account marked as default.

Since

1.0.00

Parameters

listener

instance of OnMessageClickListener, pass null to unregister.

Throws

if the SDK is not initialized.


Registers/Unregisters a callback to be notified for message click event. This API sets the listener for the given account.

Since

2.0.0

Parameters

listener
appId

Account identifier, APP ID on the MoEngage Dashboard.

Throws

if the SDK is not initialized.