getNewCardCount

Returns the count of new cards available for the account configured as default or null if no account is configured as default.

Note: This API should not be called on the Main Thread as it queries the database.

Return

instance of NewCardCountData

Since

1.0.0

Parameters

context

instance of Context


Returns the count of new cards available for the given account.

Data returned is null if given account is not configured.

Note: This API should not be called on the Main Thread as it queries the database.

Since

1.0.0

Parameters

context

instance of Context

appId

Account identifier, APP ID on the MoEngage Dashboard.