fetchCards

fun fetchCards(context: Context, listener: CardAvailableListener)

Fetches the latest cards from the server and returns all active cards in the listener

Since

1.4.1

Parameters

context

instance of Context

listener

fun fetchCards(context: Context, appId: String, listener: CardAvailableListener)

Fetches the latest cards from the server and returns all active cards in the listener

Since

1.4.1

Parameters

context

instance of Context

appId

Account identifier, APP ID on the MoEngage Dashboard.

listener