AndroidAddressBook

open class AndroidAddressBook<T1 : AndroidContact, T2 : AndroidGroup>(var addressBookAccount: Account, val provider: ContentProviderClient?, contactFactory: AndroidContactFactory<T1>, groupFactory: AndroidGroupFactory<T2>)

Constructors

Link copied to clipboard
constructor(addressBookAccount: Account, provider: ContentProviderClient?, contactFactory: AndroidContactFactory<T1>, groupFactory: AndroidGroupFactory<T2>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var readOnly: Boolean
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun allGroups(callback: (T2) -> Unit)
Link copied to clipboard
fun findContactById(id: Long): <Error class: unknown class>
Link copied to clipboard
fun findContactByUid(uid: String): <Error class: unknown class>
Link copied to clipboard
fun findGroupById(id: Long): <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
fun queryContacts(where: String?, whereArgs: Array<String>?): List<T1>
Link copied to clipboard
fun queryGroups(where: String?, whereArgs: Array<String>?): List<T2>
fun queryGroups(where: String?, whereArgs: Array<String>?, callback: (T2) -> Unit)
Link copied to clipboard
Link copied to clipboard