getCardsForCategoryAsync
Returns a list of eligible cards to the listener for the instance configured as default. To fetch all cards irrespective of categories pass in the category as CARDS_CATEGORY_ALL
Data in the listener is null if no account is configured as default.
Since
1.0.0
Parameters
instance of Context
category for which cards should be fetched.
instance of CardAvailableListener
Throws
if the SDK is not initialized.
Returns a list of eligible cards to the listener for the given account. To fetch all cards irrespective of categories pass in the category as CARDS_CATEGORY_ALL
Data returned in the listener is null if given account is not configured.
Since
1.0.0
Parameters
instance of Context
category for which cards should be fetched.
Account identifier, APP ID on the MoEngage Dashboard.
instance of CardAvailableListener
Throws
if the SDK is not initialized.