getCardsForCategory

Returns all eligible cards for the given category for the instance configured as default or null if no account is configured as default. To fetch all cards irrespective of categories pass in the category as CARDS_CATEGORY_ALL

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

Return

instance of CardData.

Since

1.0.0

Parameters

context

instance of Context

category

category for which cards should be fetched.


Returns a list of eligible cards for the given category or null if the given account is not configured. To fetch all cards irrespective of categories pass in the category as CARDS_CATEGORY_ALL

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

Return

List of Card for a category or null if the instance is not initialised.

Since

1.0.0

Parameters

context

instance of Context

category

category for which cards should be fetched.