Contact

data class Contact(val id: String = UUID.randomUUID().toString(), val name: String, val source: Contact.Source = Personal, val isFavorite: Boolean, val phones: List<Phone>, val emails: List<Email>, val associatedUserId: String?, val avatar: String? = null, val avatarUrl: URL? = null, val state: Presence.State? = Presence.State.OFFLINE, val userName: String? = null, val displayName: String? = null, val domain: String? = null, val mood: String? = null, wasDeleted: Boolean = false) : ConferenceParticipant

Constructors

Link copied to clipboard
constructor(id: String = UUID.randomUUID().toString(), name: String, source: Contact.Source = Personal, isFavorite: Boolean, phones: List<Phone>, emails: List<Email>, associatedUserId: String?, avatar: String? = null, avatarUrl: URL? = null, state: Presence.State? = Presence.State.OFFLINE, userName: String? = null, displayName: String? = null, domain: String? = null, mood: String? = null, wasDeleted: Boolean = false)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed class Source : Parcelable

Properties

Link copied to clipboard
Link copied to clipboard
val avatar: String? = null
Link copied to clipboard
val avatarUrl: URL? = null
Link copied to clipboard
open override val callerId: String
Link copied to clipboard
val displayName: String? = null
Link copied to clipboard
val domain: String? = null
Link copied to clipboard
val emails: List<Email>
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
val mood: String? = null
Link copied to clipboard
Link copied to clipboard
val phones: List<Phone>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val userName: String? = null

Functions

Link copied to clipboard
fun updateWith(presence: Presence): Contact