User

data class User(val userId: String, val displayName: String? = null, val avatarUrl: String? = null)

Data class which holds information about a user. It can be retrieved with org.matrix.android.sdk.api.session.user.UserService

Constructors

Link copied to clipboard
constructor(userId: String, displayName: String? = null, avatarUrl: String? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Properties

Link copied to clipboard
val avatarUrl: String? = null
Link copied to clipboard
val displayName: String? = null

For usage in UI, consider converting to MatrixItem and call getBestName().

Link copied to clipboard