Contact
data class Contact(val id: UUID = UUID.randomUUID(), val name: PersonNameComponents, val image: ImageResource = ImageResource.Vector(Icons.Default.AccountBox, StringResource(R.string.profile_picture)), val title: StringResource? = null, val description: StringResource? = null, val organization: StringResource? = null, val address: Address? = null, val options: List<ContactOption>)
Contact data class used to represent a contact.
Parameters
id
the unique identifier of the contact
name
the name of the contact
image
the image of the contact
title
the title of the contact
description
the description of the contact
organization
the organization of the contact
address
the address of the contact
options
the list of contact options
See also
Constructors
Link copied to clipboard
constructor(id: UUID = UUID.randomUUID(), name: PersonNameComponents, image: ImageResource = ImageResource.Vector(Icons.Default.AccountBox, StringResource(R.string.profile_picture)), title: StringResource? = null, description: StringResource? = null, organization: StringResource? = null, address: Address? = null, options: List<ContactOption>)