Functions
Link copied to clipboard
suspend fun create(webId: String, addressBookUri: String, data: ContactData, groupUris: List<String> = emptyList()): SolidContact?
Link copied to clipboard
Deletes the contact at contactUri (and its photo, if any).
Link copied to clipboard
Finds a contact by exact WebID — the duplicate check before adding someone.
Link copied to clipboard
Reads the contact at contactUri.
Link copied to clipboard
Reads a contact photo's bytes. Subject to the ~1 MB Binder transaction limit.
Link copied to clipboard
Lists the contacts in the address book at addressBookUri.
Link copied to clipboard
Removes the contact's photo.
Link copied to clipboard
suspend fun update(webId: String, addressBookUri: String, contactUri: String, data: ContactData): SolidContact?
Rewrites the contact at contactUri from data with replace semantics: properties absent from data are removed.