cardClicked

fun cardClicked(context: Context, card: Card, widgetId: Int)

Marks a card as clicked and tracks an event for statistical purpose for the instance configured as default.

Since

1.0.0

Parameters

context

instance of Context

card

instance of Card

widgetId

unique identifier for the widget that was clicked.

Throws

if the SDK is not initialized.


fun cardClicked(context: Context, card: Card, widgetId: Int, appId: String)

Marks a card as clicked and tracks an event for statistical purpose for the given instance.

Since

1.0.0

Parameters

context

instance of Context

card

instance of Card

widgetId

unique identifier for the widget that was clicked.

appId

Account identifier, APP ID on the MoEngage Dashboard.

Throws

if the SDK is not initialized.