public final class BannerImageCard extends Card
Constructor and Description |
---|
BannerImageCard(org.json.JSONObject object,
CardKey.Provider cardKeyProvider) |
BannerImageCard(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 |
getDomain() |
java.lang.String |
getImageUrl() |
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 BannerImageCard(org.json.JSONObject object, CardKey.Provider cardKeyProvider) throws org.json.JSONException
org.json.JSONException
public BannerImageCard(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 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.