ContactSourceContactEntryFilter

Keeps entries whose account type is a contact source, as the platform Contacts app defines it. The installed sync adapters are read on the first apply, so the filter can be created on any thread and does its package-manager work where the cursor is iterated.

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard
open override val requiredColumns: Set<String>

Columns the filter reads; the worker includes them in its projection.

Functions

Link copied to clipboard
open override fun apply(cursor: Cursor): Boolean