Get Cards Info
Fetch All the cards campaign data that are eligible to show for the particular user which returns data as CardsInfo.Widget and Widget ID Mapping
Basic Card/Illustration Card
| Widget Id | Widget Type | Widget Information |
|---|---|---|
| 0 | Image (WidgetType.IMAGE) | Image widget in the card. |
| 1 | Text (WidgetType.TEXT) | Header text for the card. |
| 2 | Text (WidgetType.TEXT) | Message text for the card. |
| 3 | Button (WidgetType.Button) | Call to action(CTA) for the card. |
Refresh Cards
Use the refreshCards*()*** API to refresh cards on the User Demand. This API can be used to mimic Pull to refresh behavior.Fetch Cards
Use the fetchCards*()*** API to fetch cards for the User. This API can be used to sync the latest cards data.For details on the sync timing and rate limits for
fetchCards(), see When Does the MoEngage SDK Sync Card Data?