java.lang.Object | ||
↳ | android.content.BroadcastReceiver | |
↳ | com.android.contacts.model.Sources |
Singleton holder for all parsed ContactsSource
available on the
system, typically filled through PackageManager queries.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return list of all known, writable
ContactsSource . | |||||||||||
Return
ContactsSource for the given account type. | |||||||||||
Requests the singleton instance of
Sources with data bound from
the available authenticators. | |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Find a specific
AuthenticatorDescription in the provided list
that matches the given account type. | |||||||||||
Blocking call to load all
AuthenticatorDescription known by the
AccountManager on the system. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.content.BroadcastReceiver
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
android.accounts.OnAccountsUpdateListener
|
Return list of all known, writable ContactsSource
. Sources
returned may require inflation before they can be used.
Return ContactsSource
for the given account type.
Requests the singleton instance of Sources
with data bound from
the available authenticators. This method blocks until its interaction
with AccountManager is finished, so don't call from a UI thread.
Find the best ContactsSource.DataKind
matching the requested
accountType
and mimeType
. If no
direct match found, we try searching #mFallbackSource.
When fourceRefresh is set to true, cache is refreshed and inflation of each
EditField will occur.
Find a specific AuthenticatorDescription
in the provided list
that matches the given account type.
Blocking call to load all AuthenticatorDescription
known by the
AccountManager on the system.