Package org.matrix.android.sdk.api.session.threads

Types

Link copied to clipboard
data class ThreadDetails(    val isRootThread: Boolean = false,     val numberOfThreads: Int = 0,     val threadSummarySenderInfo: SenderInfo? = null,     val threadSummaryLatestEvent: Event? = null,     val lastMessageTimestamp: Long? = null,     val threadNotificationState: ThreadNotificationState = ThreadNotificationState.NO_NEW_MESSAGE,     val isThread: Boolean = false,     val lastRootThreadEdition: String? = null)

This class contains all the details needed for threads. Is is mainly used from within an Event.

Link copied to clipboard
data class ThreadNotificationBadgeState(val numberOfLocalUnreadThreads: Int = 0, val isUserMentioned: Boolean = false)

This class defines the state of a thread notification badge.

Link copied to clipboard
enum ThreadNotificationState : Enum<ThreadNotificationState>

This class defines the state of a thread notification.

Link copied to clipboard
data class ThreadTimelineEvent(val timelineEvent: TimelineEvent, val isParticipating: Boolean)

This class contains a thread TimelineEvent along with a boolean that determines if the current user has participated in that event.