public final class ShortNewsCard extends Card
Constructor and Description |
---|
ShortNewsCard(org.json.JSONObject object,
CardKey.Provider cardKeyProvider) |
ShortNewsCard(org.json.JSONObject object,
CardKey.Provider cardKeyProvider,
IBrazeManager manager,
ICardStorageProvider<?> cardStorageProvider,
ICardAnalyticsProvider cardAnalyticsProvider) |
Modifier and Type | Method and Description |
---|---|
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 ShortNewsCard(org.json.JSONObject object, CardKey.Provider cardKeyProvider) throws org.json.JSONException
org.json.JSONException
public ShortNewsCard(org.json.JSONObject object, CardKey.Provider cardKeyProvider, IBrazeManager manager, ICardStorageProvider<?> cardStorageProvider, ICardAnalyticsProvider cardAnalyticsProvider) throws org.json.JSONException
org.json.JSONException
public java.lang.String getDescription()
public java.lang.String getImageUrl()
public java.lang.String getTitle()
public java.lang.String getUrl()
public java.lang.String getDomain()
public CardType getCardType()
Card
CardType
representing the type of this card.getCardType
in class Card
CardType.DEFAULT
if the type is not known.