Card
open class Card constructor(jsonObject: JSONObject, cardKeysProvider: CardKey.Provider, brazeManager: IBrazeManager?, cardStorage: ICardStorageProvider<*>?, cardAnalytics: ICardAnalyticsProvider?) : IPutIntoJson<JSONObject?>
Creates a card.
Parameters
json Object
JSON representation of the card
card Keys Provider
The CardKey.Provider responsible for providing the appropriate key for a field.
braze Manager
Allows the card to report clicks internally
card Storage
Allows the card to persist its viewed/unviewed state
Throws
When the provided JSON object is malformed
Constructors
Link copied to clipboard
Link copied to clipboard
fun Card(jsonObject: JSONObject, cardKeysProvider: CardKey.Provider, brazeManager: IBrazeManager?, cardStorage: ICardStorageProvider<*>?, cardAnalytics: ICardAnalyticsProvider?)
Types
Functions
Link copied to clipboard
The JSONObject representation of this card.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Reports that this card was displayed to the user.
Properties
Link copied to clipboard
The CardType representing the type of this card or CardType.DEFAULT if the type is not known.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The ICardListener that gets called when isIndicatorHighlighted is set.
Link copied to clipboard