LoadedPollsStatus

data class LoadedPollsStatus(    val canLoadMore: Boolean,     val daysSynced: Int,     val hasCompletedASyncBackward: Boolean)

Represent the status of the loaded polls for a room.

Constructors

Link copied to clipboard
fun LoadedPollsStatus(    canLoadMore: Boolean,     daysSynced: Int,     hasCompletedASyncBackward: Boolean)

Properties

Link copied to clipboard
val canLoadMore: Boolean

Indicate whether more polls can be loaded from timeline. A false value would mean the start of the timeline has been reached.

Link copied to clipboard
val daysSynced: Int

Number of days of timeline events currently synced (fetched and stored in local).

Link copied to clipboard
val hasCompletedASyncBackward: Boolean

Indicate whether a sync of timeline events has been completely done in backward. It would mean timeline events have been synced for at least a number of days defined by PollHistoryService.loadingPeriodInDays.