Package-level declarations

Types

Link copied to clipboard
data class AddressBook(val uri: String, var title: String, var contacts: List<Contact>, var groups: List<Group>) : Parcelable
Link copied to clipboard
data class AddressBookList(val publicAddressBookUris: List<String>, val privateAddressBookUris: List<String>) : Parcelable
Link copied to clipboard
Link copied to clipboard
data class AddressEntry(val street: String? = null, val locality: String? = null, val region: String? = null, val postalCode: String? = null, val countryName: String? = null, val poBox: String? = null, val type: AddressType = AddressType.OTHER) : Parcelable
Link copied to clipboard
Link copied to clipboard
data class Contact(val uri: String, val name: String) : Parcelable

A contact as it appears in a listing: just enough to render a row.

Link copied to clipboard
data class ContactData(val fullName: String? = null, val name: Name? = null, val nickname: String? = null, val phones: List<PhoneEntry> = emptyList(), val emails: List<EmailEntry> = emptyList(), val impps: List<ImEntry> = emptyList(), val addresses: List<AddressEntry> = emptyList(), val birthday: String? = null, val anniversary: String? = null, val organizationName: String? = null, val organizationUnit: String? = null, val role: String? = null, val title: String? = null, val note: String? = null, val categories: List<String> = emptyList(), val gender: Gender? = null, val geos: List<String> = emptyList(), val languages: List<String> = emptyList(), val urls: List<UrlEntry> = emptyList(), val uid: String? = null) : Parcelable
Link copied to clipboard
Link copied to clipboard
annotation class ContactDataDsl
Link copied to clipboard
data class ContactMatch(val contact: SolidContact? = null, val addressBookUri: String? = null) : Parcelable
Link copied to clipboard
class ContactPhoto(val uri: String, val contentType: String, val bytes: ByteArray) : Parcelable
Link copied to clipboard
data class EmailEntry(val address: String, val type: EmailType = EmailType.OTHER) : Parcelable
Link copied to clipboard
Link copied to clipboard
data class FullGroup(val uri: String, val name: String, val contacts: List<Contact>) : Parcelable
Link copied to clipboard
enum Gender : Enum<Gender>

vCard 4.0 GENDER (W3C vCard ontology vcard:hasGender), mapped to the ontology's gender classes: vcard:Male, vcard:Female, vcard:Other, vcard:None, vcard:Unknown.

Link copied to clipboard
data class Group(val uri: String, val name: String) : Parcelable
Link copied to clipboard
data class ImEntry(val handle: String, val type: ImType = ImType.OTHER) : Parcelable

An instant-messaging handle (vCard IMPP / vcard:hasInstantMessage). handle is stored verbatim — a scheme-qualified URI (xmpp:alice@example.com) or a bare protocol handle — so it round-trips whatever a device or .vcf provides.

Link copied to clipboard
enum ImType : Enum<ImType>
Link copied to clipboard
data class Name(val familyName: String? = null, val givenName: String? = null, val additionalName: String? = null, val honorificPrefix: String? = null, val honorificSuffix: String? = null) : Parcelable

The structured-name parts of a contact (vcard:hasName).

Link copied to clipboard
Link copied to clipboard
data class PhoneEntry(val number: String, val type: PhoneType = PhoneType.OTHER) : Parcelable
Link copied to clipboard
Link copied to clipboard
data class SolidContact(val uri: String, val etag: String? = null, val modified: Long? = null, val photoUri: String? = null, val data: ContactData) : Parcelable
Link copied to clipboard
data class SolidContactList(val contacts: List<SolidContact>) : Parcelable
Link copied to clipboard
data class UrlEntry(val type: URLType, val value: String) : Parcelable
Link copied to clipboard

The kind of link a vcard:hasURL node carries.

Properties

Link copied to clipboard

Where a new contacts container is allocated: {storage}datamodule/contacts/.

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

Functions

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