Room Summary
data class RoomSummary( val roomId: String, val displayName: String = "", val name: String = "", val topic: String = "", val avatarUrl: String = "", val canonicalAlias: String? = null, val aliases: List<String> = emptyList(), val joinRules: RoomJoinRules? = null, val isDirect: Boolean = false, val directUserId: String? = null, val directUserPresence: UserPresence? = null, val joinedMembersCount: Int? = 0, val invitedMembersCount: Int? = 0, val latestPreviewableEvent: TimelineEvent? = null, val otherMemberIds: List<String> = emptyList(), val notificationCount: Int = 0, val highlightCount: Int = 0, val threadNotificationCount: Int = 0, val threadHighlightCount: Int = 0, val hasUnreadMessages: Boolean = false, val tags: List<RoomTag> = emptyList(), val membership: Membership = Membership.NONE, val versioningState: VersioningState = VersioningState.NONE, val readMarkerId: String? = null, val userDrafts: List<UserDraft> = emptyList(), val isEncrypted: Boolean, val encryptionEventTs: Long?, val typingUsers: List<SenderInfo>, val inviterId: String? = null, val breadcrumbsIndex: Int = NOT_IN_BREADCRUMBS, val roomEncryptionTrustLevel: RoomEncryptionTrustLevel? = null, val hasFailedSending: Boolean = false, val roomType: String? = null, val spaceParents: List<SpaceParentInfo>? = null, val spaceChildren: List<SpaceChildInfo>? = null, val directParentNames: List<String> = emptyList(), val flattenParentIds: List<String> = emptyList(), val roomEncryptionAlgorithm: RoomEncryptionAlgorithm? = null)
Content copied to clipboard
This class holds some data of a room. It can be retrieved by org.matrix.android.sdk.api.session.room.Room and org.matrix.android.sdk.api.session.room.RoomService
Constructors
Link copied to clipboard
fun RoomSummary( roomId: String, displayName: String = "", name: String = "", topic: String = "", avatarUrl: String = "", canonicalAlias: String? = null, aliases: List<String> = emptyList(), joinRules: RoomJoinRules? = null, isDirect: Boolean = false, directUserId: String? = null, directUserPresence: UserPresence? = null, joinedMembersCount: Int? = 0, invitedMembersCount: Int? = 0, latestPreviewableEvent: TimelineEvent? = null, otherMemberIds: List<String> = emptyList(), notificationCount: Int = 0, highlightCount: Int = 0, threadNotificationCount: Int = 0, threadHighlightCount: Int = 0, hasUnreadMessages: Boolean = false, tags: List<RoomTag> = emptyList(), membership: Membership = Membership.NONE, versioningState: VersioningState = VersioningState.NONE, readMarkerId: String? = null, userDrafts: List<UserDraft> = emptyList(), isEncrypted: Boolean, encryptionEventTs: Long?, typingUsers: List<SenderInfo>, inviterId: String? = null, breadcrumbsIndex: Int = NOT_IN_BREADCRUMBS, roomEncryptionTrustLevel: RoomEncryptionTrustLevel? = null, hasFailedSending: Boolean = false, roomType: String? = null, spaceParents: List<SpaceParentInfo>? = null, spaceChildren: List<SpaceChildInfo>? = null, directParentNames: List<String> = emptyList(), flattenParentIds: List<String> = emptyList(), roomEncryptionAlgorithm: RoomEncryptionAlgorithm? = null)
Content copied to clipboard
Types
Functions
Properties
Link copied to clipboard
If isDirect is true, this is the id of the first other member of this room.
Link copied to clipboard
If isDirect is true, this it the presence of the first other member of this room.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
True if versioningState is not VersioningState.NONE.
Link copied to clipboard
Latest TimelineEvent which can be displayed in this room. Can be used in the room list.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Extensions
Link copied to clipboard
fun RoomSummary.toEveryoneInRoomMatrixItem(): MatrixItem.EveryoneInRoomItem
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard