public interface ICardStorageProvider<T>
Modifier and Type | Method and Description |
---|---|
T |
getCachedCardsAsEvent()
Gets the cached cards as an event from storage.
|
void |
markCardAsClicked(java.lang.String cardId)
Marks a card as clicked in storage.
|
void |
markCardAsDismissed(java.lang.String cardId)
Marks a card as dismissed in storage.
|
void |
markCardAsViewed(java.lang.String cardId)
Marks a card as viewed in storage.
|
void |
markCardAsVisuallyRead(java.lang.String cardId)
Marks a card as visually read in storage.
|
void markCardAsVisuallyRead(java.lang.String cardId)
void markCardAsViewed(java.lang.String cardId)
void markCardAsDismissed(java.lang.String cardId)
void markCardAsClicked(java.lang.String cardId)
T getCachedCardsAsEvent() throws org.json.JSONException
org.json.JSONException
- If the cards cannot be parsed from storage.