TimelineSettings

data class TimelineSettings(val initialSize: Int, val buildReadReceipts: Boolean = true, val rootThreadEventId: String? = null, val useLiveSenderInfo: Boolean = false)

Data class holding setting values for a Timeline instance.

Constructors

Link copied to clipboard
constructor(initialSize: Int, buildReadReceipts: Boolean = true, rootThreadEventId: String? = null, useLiveSenderInfo: Boolean = false)

Functions

Link copied to clipboard

Returns true if this is a thread timeline or false otherwise.

Properties

Link copied to clipboard

If true, will build read receipts for each event.

Link copied to clipboard

The initial number of events to retrieve from cache. You might get less events if you don't have loaded enough yet.

Link copied to clipboard

The root thread eventId if this is a thread timeline, or null if this is NOT a thread timeline.

Link copied to clipboard

If true Sender Info shown in room will get the latest data information (avatar + displayName).