Card
open class Card(val jsonObject: JSONObject, val brazeManager: ERROR CLASS: Symbol not found for IBrazeManager??, val cardStorage: ICardStorageProvider<*>?, val cardAnalytics: ERROR CLASS: Symbol not found for ICardAnalyticsProvider??) : IPutIntoJson<JSONObject?>
Creates a card.
Parameters
json Object
JSON representation of the card
braze Manager
Allows the card to report clicks internally
card Storage
Allows the card to persist its viewed/unviewed state
Throws
JSONException
When the provided JSON object is malformed
Inheritors
Constructors
Link copied to clipboard
constructor(jsonObject: JSONObject, brazeManager: ERROR CLASS: Symbol not found for IBrazeManager??, cardStorage: ICardStorageProvider<*>?, cardAnalytics: ERROR CLASS: Symbol not found for ICardAnalyticsProvider??)
constructor(jsonObject: JSONObject)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
Indicates if this card is dismissed.
Link copied to clipboard
Link copied to clipboard
True if this card is dismissible by the user, false otherwise.
Link copied to clipboard
The current status of visual indicator at the bottom of the card highlight state. This value changes from true to false when the card goes offscreen for the first time.
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
Whether Uris for this card should be opened in Braze's WebView or not.
Link copied to clipboard