trackMessageClicked

fun trackMessageClicked(context: Context, inboxMessage: InboxMessage)

Marks the given message as clicked and tracks a click event for the same. This API updates the message for the account configured as default.

Since

1.0.00

Parameters

context

instance of Context

inboxMessage

instance of InboxMessage

Throws

if the SDK is not initialized.


fun trackMessageClicked(context: Context, inboxMessage: InboxMessage, appId: String)

Marks the given message as clicked and tracks a click event for the same. This API updates the message for the given account.

Since

2.0.0

Parameters

context

instance of Context

inboxMessage

instance of InboxMessage

appId

Account identifier, APP ID on the MoEngage Dashboard.

Throws

if the SDK is not initialized.