registerMessageListener

Register a listener for Push notification callback and tweaking for the account configured as default.

Since

12.0.00

Parameters

pushMessageListener

Throws

if the SDK is not initialized.


fun registerMessageListener(pushMessageListener: PushMessageListener, appId: String)

Register a listener for Push notification callback and tweaking for the given account.

Since

12.0.00

Parameters

pushMessageListener
appId

Account identifier, APP ID on the MoEngage Dashboard.

Throws

if the SDK is not initialized.