Package-level declarations

Types

Link copied to clipboard
open class AndroidAddressBook<T1 : AndroidContact, T2 : AndroidGroup>(var addressBookAccount: Account, val provider: ContentProviderClient?, contactFactory: AndroidContactFactory<T1>, groupFactory: AndroidGroupFactory<T2>)
Link copied to clipboard
open class AndroidContact(val addressBook: AndroidAddressBook<out AndroidContact, out AndroidGroup>)
Link copied to clipboard
Link copied to clipboard
open class AndroidGroup(val addressBook: AndroidAddressBook<out AndroidContact, out AndroidGroup>)
Link copied to clipboard
Link copied to clipboard
class BatchOperation(providerClient: ContentProviderClient)
Link copied to clipboard

Represents a "cached group membership" row. Cached group memberships exist only for one reason, which only applies to the vCard4 (KIND/MEMBER) group method:

Link copied to clipboard
data class Contact(var uid: String? = null, var group: Boolean = false, val members: MutableSet<String> = mutableSetOf(), var displayName: String? = null, var prefix: String? = null, var givenName: String? = null, var middleName: String? = null, var familyName: String? = null, var suffix: String? = null, var phoneticGivenName: String? = null, var phoneticMiddleName: String? = null, var phoneticFamilyName: String? = null, var nickName: LabeledProperty<Nickname>? = null, var organization: Organization? = null, var jobTitle: String? = null, var jobDescription: String? = null, val phoneNumbers: LinkedList<LabeledProperty<Telephone>> = LinkedList(), val emails: LinkedList<LabeledProperty<Email>> = LinkedList(), val impps: LinkedList<LabeledProperty<Impp>> = LinkedList(), val addresses: LinkedList<LabeledProperty<Address>> = LinkedList(), val categories: LinkedList<String> = LinkedList(), val urls: LinkedList<LabeledProperty<Url>> = LinkedList(), val relations: LinkedList<Related> = LinkedList(), var note: String? = null, var anniversary: Anniversary? = null, var birthDay: Birthday? = null, val customDates: LinkedList<LabeledProperty<XAbDate>> = LinkedList(), var photo: ByteArray? = null, var unknownProperties: String? = null)

Data class for a contact; between vCards and the Android contacts provider.

Link copied to clipboard

Responsible for converting a specific vCard with a specific version to the version-independent data class Contact.

Link copied to clipboard
class ContactsStorageException @JvmOverloads constructor(message: String?, ex: Throwable? = null) : Exception
Link copied to clipboard

Responsible for converting the Contact data class (which is not version-specific) to the vCard that is actually sent to the server.

Link copied to clipboard
Link copied to clipboard
data class LabeledProperty<out T : VCardProperty> @JvmOverloads constructor(val property: T, var label: String? = null)
Link copied to clipboard
object Utils