ContactEntryTypeResolver

Resolves the account type of a raw contact entry to its ContactEntryType, following the platform Contacts app's rules for the given contacts sync adapters. Reads every adapter's declared structure on construction.

Constructors

Link copied to clipboard
constructor(adapters: List<ContactSyncAdapter>)
constructor(context: Context)

Functions

Link copied to clipboard
fun resolve(accountType: String?): ContactEntryType