public final class CaptionedImageCard extends Card
Constructor and Description |
---|
CaptionedImageCard(org.json.JSONObject object,
CardKey.Provider cardKeyProvider) |
CaptionedImageCard(org.json.JSONObject object,
CardKey.Provider cardKeyProvider,
IBrazeManager manager,
ICardStorageProvider<?> cardStorageProvider,
ICardAnalyticsProvider cardAnalyticsProvider) |
Modifier and Type | Method and Description |
---|---|
float |
getAspectRatio()
Returns the aspect ratio of the card image.
|
CardType |
getCardType()
Returns a
CardType representing the type of this card. |
java.lang.String |
getDescription() |
java.lang.String |
getDomain() |
java.lang.String |
getImageUrl() |
java.lang.String |
getTitle() |
java.lang.String |
getUrl() |
java.lang.String |
toString() |
equals, forJsonPut, getCategories, getCreated, getExpiresAt, getExtras, getId, getIsDismissibleByUser, getIsPinned, getOpenUriInWebView, getUpdated, getViewed, hashCode, isClicked, isContentCard, isControl, isDismissed, isEqualToCard, isExpired, isInCategorySet, isIndicatorHighlighted, isRead, isRemoved, isTest, logClick, logImpression, setIndicatorHighlighted, setIsDismissed, setIsDismissibleByUser, setIsPinned, setIsRead, setIsTest, setViewed
public CaptionedImageCard(org.json.JSONObject object, CardKey.Provider cardKeyProvider) throws org.json.JSONException
org.json.JSONException
public CaptionedImageCard(org.json.JSONObject object, CardKey.Provider cardKeyProvider, IBrazeManager manager, ICardStorageProvider<?> cardStorageProvider, ICardAnalyticsProvider cardAnalyticsProvider) throws org.json.JSONException
org.json.JSONException
public java.lang.String getImageUrl()
public java.lang.String getTitle()
public java.lang.String getDescription()
public java.lang.String getUrl()
public java.lang.String getDomain()
public float getAspectRatio()
public CardType getCardType()
Card
CardType
representing the type of this card.getCardType
in class Card
CardType.DEFAULT
if the type is not known.