BrazeContentCardUtils

Functions

Link copied to clipboard
fun defaultCardHandling(cards: List<Card>): List<Card>

Sort cards by pinned, then newer, then card ID. Will also removed cards with invalid BrazeActions

Link copied to clipboard
fun getUriActionForCard(card: Card): UriAction?
Link copied to clipboard
fun handleCardClick(context: Context, card: Card, clickHandler: (Card) -> Boolean?)

This is used by Braze code to handle clicks. Clients should not call this directly.