GetTimelineEventsConfig

data class GetTimelineEventsConfig(var decryptionTimeout: Duration = INFINITE, var fetchTimeout: Duration = INFINITE, var fetchSize: Long = 20, var allowReplaceContent: Boolean = true, var minSize: Long? = null, var maxSize: Long? = null)

Constructors

Link copied to clipboard
constructor(decryptionTimeout: Duration = INFINITE, fetchTimeout: Duration = INFINITE, fetchSize: Long = 20, allowReplaceContent: Boolean = true, minSize: Long? = null, maxSize: Long? = null)

Properties

Link copied to clipboard

Define, if the content of a TimelineEvent will be replaced on a RelationType.Replace.

Link copied to clipboard

Timeout for decrypting events.

Link copied to clipboard

When the next event does not exist locally, it is fetched: Maximum number of events fetched from the server at once.

Link copied to clipboard

When the next event does not exist locally, it is fetched: Timeout for this fetch.

Link copied to clipboard

When set, the current TimelineEvent retrieving stops, when this value is reached (including the start event).

Link copied to clipboard

When set, the current TimelineEvent retrieving stops, when a gap is found and this size is reached (including the start event).

Functions