| Package | Description |
|---|---|
| android.accounts | |
| android.content | |
| android.provider |
| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<Account> |
Account.CREATOR |
| Modifier and Type | Method and Description |
|---|---|
Account[] |
AccountManager.getAccounts() |
Account[] |
AccountManager.getAccountsByType(String type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AccountManager.addAccountExplicitly(Account account,
String password,
Bundle userdata) |
String |
AccountManager.blockingGetAuthToken(Account account,
String authTokenType,
boolean notifyAuthFailure) |
void |
AccountManager.clearPassword(Account account) |
abstract Bundle |
AbstractAccountAuthenticator.confirmCredentials(AccountAuthenticatorResponse response,
Account account,
Bundle options) |
AccountManagerFuture<Bundle> |
AccountManager.confirmCredentials(Account account,
Bundle options,
Activity activity,
AccountManagerCallback<Bundle> callback,
Handler handler) |
Bundle |
AbstractAccountAuthenticator.getAccountRemovalAllowed(AccountAuthenticatorResponse response,
Account account) |
abstract Bundle |
AbstractAccountAuthenticator.getAuthToken(AccountAuthenticatorResponse response,
Account account,
String authTokenType,
Bundle options) |
AccountManagerFuture<Bundle> |
AccountManager.getAuthToken(Account account,
String authTokenType,
boolean notifyAuthFailure,
AccountManagerCallback<Bundle> callback,
Handler handler)
Deprecated.
|
AccountManagerFuture<Bundle> |
AccountManager.getAuthToken(Account account,
String authTokenType,
Bundle options,
Activity activity,
AccountManagerCallback<Bundle> callback,
Handler handler) |
AccountManagerFuture<Bundle> |
AccountManager.getAuthToken(Account account,
String authTokenType,
Bundle options,
boolean notifyAuthFailure,
AccountManagerCallback<Bundle> callback,
Handler handler) |
String |
AccountManager.getPassword(Account account) |
String |
AccountManager.getUserData(Account account,
String key) |
abstract Bundle |
AbstractAccountAuthenticator.hasFeatures(AccountAuthenticatorResponse response,
Account account,
String[] features) |
AccountManagerFuture<Boolean> |
AccountManager.hasFeatures(Account account,
String[] features,
AccountManagerCallback<Boolean> callback,
Handler handler) |
static Intent |
AccountManager.newChooseAccountIntent(Account selectedAccount,
ArrayList<Account> allowableAccounts,
String[] allowableAccountTypes,
boolean alwaysPromptForAccount,
String descriptionOverrideText,
String addAccountAuthTokenType,
String[] addAccountRequiredFeatures,
Bundle addAccountOptions) |
void |
OnAccountsUpdateListener.onAccountsUpdated(Account[] accounts) |
String |
AccountManager.peekAuthToken(Account account,
String authTokenType) |
AccountManagerFuture<Boolean> |
AccountManager.removeAccount(Account account,
AccountManagerCallback<Boolean> callback,
Handler handler) |
void |
AccountManager.setAuthToken(Account account,
String authTokenType,
String authToken) |
void |
AccountManager.setPassword(Account account,
String password) |
void |
AccountManager.setUserData(Account account,
String key,
String value) |
abstract Bundle |
AbstractAccountAuthenticator.updateCredentials(AccountAuthenticatorResponse response,
Account account,
String authTokenType,
Bundle options) |
AccountManagerFuture<Bundle> |
AccountManager.updateCredentials(Account account,
String authTokenType,
Bundle options,
Activity activity,
AccountManagerCallback<Bundle> callback,
Handler handler) |
| Modifier and Type | Method and Description |
|---|---|
static Intent |
AccountManager.newChooseAccountIntent(Account selectedAccount,
ArrayList<Account> allowableAccounts,
String[] allowableAccountTypes,
boolean alwaysPromptForAccount,
String descriptionOverrideText,
String addAccountAuthTokenType,
String[] addAccountRequiredFeatures,
Bundle addAccountOptions) |
| Modifier and Type | Field and Description |
|---|---|
Account |
PeriodicSync.account |
Account |
SyncInfo.account |
| Modifier and Type | Method and Description |
|---|---|
static void |
ContentResolver.addPeriodicSync(Account account,
String authority,
Bundle extras,
long pollFrequency) |
static void |
ContentResolver.cancelSync(Account account,
String authority) |
static int |
ContentResolver.getIsSyncable(Account account,
String authority) |
static List<PeriodicSync> |
ContentResolver.getPeriodicSyncs(Account account,
String authority) |
static boolean |
ContentResolver.getSyncAutomatically(Account account,
String authority) |
static boolean |
ContentResolver.isSyncActive(Account account,
String authority) |
static boolean |
ContentResolver.isSyncPending(Account account,
String authority) |
abstract void |
AbstractThreadedSyncAdapter.onPerformSync(Account account,
Bundle extras,
String authority,
ContentProviderClient provider,
SyncResult syncResult) |
static void |
ContentResolver.removePeriodicSync(Account account,
String authority,
Bundle extras) |
static void |
ContentResolver.requestSync(Account account,
String authority,
Bundle extras) |
static void |
ContentResolver.setIsSyncable(Account account,
String authority,
int syncable) |
static void |
ContentResolver.setSyncAutomatically(Account account,
String authority,
boolean sync) |
| Constructor and Description |
|---|
PeriodicSync(Account account,
String authority,
Bundle extras,
long period) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
ContactsContract.SyncState.get(ContentProviderClient provider,
Account account) |
static byte[] |
ContactsContract.ProfileSyncState.get(ContentProviderClient provider,
Account account) |
static byte[] |
SyncStateContract.Helpers.get(ContentProviderClient provider,
Uri uri,
Account account) |
static Pair<Uri,byte[]> |
ContactsContract.SyncState.getWithUri(ContentProviderClient provider,
Account account) |
static Pair<Uri,byte[]> |
ContactsContract.ProfileSyncState.getWithUri(ContentProviderClient provider,
Account account) |
static Pair<Uri,byte[]> |
SyncStateContract.Helpers.getWithUri(ContentProviderClient provider,
Uri uri,
Account account) |
static Uri |
SyncStateContract.Helpers.insert(ContentProviderClient provider,
Uri uri,
Account account,
byte[] data) |
static ContentProviderOperation |
ContactsContract.SyncState.newSetOperation(Account account,
byte[] data) |
static ContentProviderOperation |
ContactsContract.ProfileSyncState.newSetOperation(Account account,
byte[] data) |
static ContentProviderOperation |
SyncStateContract.Helpers.newSetOperation(Uri uri,
Account account,
byte[] data) |
static void |
ContactsContract.SyncState.set(ContentProviderClient provider,
Account account,
byte[] data) |
static void |
ContactsContract.ProfileSyncState.set(ContentProviderClient provider,
Account account,
byte[] data) |
static void |
SyncStateContract.Helpers.set(ContentProviderClient provider,
Uri uri,
Account account,
byte[] data) |
Copyright © 2008-2013. All Rights Reserved.