MatrixItem

sealed class MatrixItem

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class EventItem(    val id: String,     val displayName: String? = null,     val avatarUrl: String? = null) : MatrixItem
Link copied to clipboard
data class EveryoneInRoomItem(    val id: String,     val displayName: String = NOTIFY_EVERYONE,     val avatarUrl: String? = null,     val roomDisplayName: String? = null) : MatrixItem
Link copied to clipboard
data class RoomAliasItem(    val id: String,     val displayName: String? = null,     val avatarUrl: String? = null,     val roomDisplayName: String? = null) : MatrixItem
Link copied to clipboard
data class RoomItem(    val id: String,     val displayName: String? = null,     val avatarUrl: String? = null,     val roomDisplayName: String? = null) : MatrixItem
Link copied to clipboard
data class SpaceItem(    val id: String,     val displayName: String? = null,     val avatarUrl: String? = null) : MatrixItem
Link copied to clipboard
data class UserItem(    val id: String,     val displayName: String? = null,     val avatarUrl: String? = null) : MatrixItem

Functions

Link copied to clipboard
fun firstLetterOfDisplayName(): String
Link copied to clipboard
abstract fun updateAvatar(newAvatar: String?): MatrixItem

Properties

Link copied to clipboard
open val avatarUrl: String?
Link copied to clipboard
open val displayName: String?
Link copied to clipboard
open val id: String

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard