ContentCardsUpdatedEvent

class ContentCardsUpdatedEvent(contentCards: List<Card>, val userId: String?, val timestampSeconds: Long, val isFromOfflineStorage: Boolean)

Return

The user id this update belongs to

Parameters

contentCards

The list of cards

userId

The user id for this update (Note: it is possible to receive events from previous users, so you may want to verify this is your current user)

timestampSeconds

The timestamp of the event, in seconds

isFromOfflineStorage

Whether this update came from offline storage or a server update

Constructors

Link copied to clipboard
fun ContentCardsUpdatedEvent(contentCards: List<Card>, userId: String?, timestampSeconds: Long, isFromOfflineStorage: Boolean)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
Link copied to clipboard

The total number of cards in this update, including control cards.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The number of unviewed cards in this update, excluding control cards.

Link copied to clipboard