Card

fun Card(jsonObject: JSONObject, cardKeyProvider: CardKey.Provider)


fun Card(jsonObject: JSONObject, cardKeysProvider: CardKey.Provider, brazeManager: IBrazeManager?, cardStorage: ICardStorageProvider<*>?, cardAnalytics: ICardAnalyticsProvider?)

Parameters

jsonObject

JSON representation of the card

cardKeysProvider

The CardKey.Provider responsible for providing the appropriate key for a field.

brazeManager

Allows the card to report clicks internally

cardStorage

Allows the card to persist its viewed/unviewed state