new ContentCards(cards, lastUpdated)
Parameters:
Name | Type | Description |
---|---|---|
cards |
Array | Array of ab.Card descendents (ab.ClassicCard, ab.CaptionedImage, ab.Banner). |
lastUpdated |
Date | When this collection of cards was received from Appboy servers. If null, it means the content cards are still being fetched for this user. |
Methods
-
getUnviewedCardCount()
-
Get the current unviewed card count. This is useful for powering badges on your control for showing the content cards.