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
fun TimelineSettings(    initialSize: Int,     buildReadReceipts: Boolean = true,     rootThreadEventId: String? = null,     useLiveSenderInfo: Boolean = false)

Functions

Link copied to clipboard
fun isThreadTimeline(): Boolean

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

Properties

Link copied to clipboard
val buildReadReceipts: Boolean = true

If true, will build read receipts for each event.

Link copied to clipboard
val initialSize: Int

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
val rootThreadEventId: String? = null

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

Link copied to clipboard
val useLiveSenderInfo: Boolean = false

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