getCardsInfo

@WorkerThread
fun getCardsInfo(context: Context): CardInfo?

Fetches all cards related data for the account configured as default.

Return

instance of CardInfo

Since

1.0.0

Parameters

context

Instance of Context

Throws

if the SDK is not initialized.


@WorkerThread
fun getCardsInfo(context: Context, appId: String): CardInfo?

Fetches all cards related data for the given account.

Return

instance of CardInfo

Since

1.0.0

Parameters

context

Instance of Context

appId

Account identifier, APP ID on the MoEngage Dashboard.

Throws

if the SDK is not initialized.