AccountContacts

Rust-owned Android-local address-book operations.

Functions

Link copied to clipboard
fun observe(limit: Int = 100, offset: Int = 0): Flow<List<LocalContact>>

Observe one stable contact page after durable account mutations.

Link copied to clipboard
suspend fun page(limit: Int = 100, offset: Int = 0): List<LocalContact>

Return up to 200 contacts in stable public-key order.

Link copied to clipboard
suspend fun put(contact: LocalContact)

Insert or replace one bounded local contact.

Link copied to clipboard
suspend fun remove(publicKey: PublicKey)

Remove one local contact idempotently.