User

@IviExperimental(reasons = [])
class User(val id: UserId, val name: Username, val avatar: UserAvatar?) : Parcelable

Represents a user profile, with a unique id, a display name and an optional avatar image. See Username for the rules for a valid name.

Constructors

Link copied to clipboard
constructor(userName: Username, userAvatar: UserAvatar? = null)
constructor(id: UserId, name: Username, avatar: UserAvatar?)

Properties

Link copied to clipboard
Link copied to clipboard
val id: UserId
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)