FileDocCategorySizeDatePackage
IAccountManager.javaAPI DocAndroid 5.1 API48851Sat Mar 14 05:47:56 GMT 2015android.accounts

IAccountManager

public interface IAccountManager implements android.os.IInterface
Central application service that provides account management.
hide

Fields Summary
Constructors Summary
Methods Summary
public voidaddAccount(android.accounts.IAccountManagerResponse response, java.lang.String accountType, java.lang.String authTokenType, java.lang.String[] requiredFeatures, boolean expectActivityLaunch, android.os.Bundle options)

public voidaddAccountAsUser(android.accounts.IAccountManagerResponse response, java.lang.String accountType, java.lang.String authTokenType, java.lang.String[] requiredFeatures, boolean expectActivityLaunch, android.os.Bundle options, int userId)

public booleanaddAccountExplicitly(android.accounts.Account account, java.lang.String password, android.os.Bundle extras)

public booleanaddSharedAccountAsUser(android.accounts.Account account, int userId)

public voidclearPassword(android.accounts.Account account)

public voidconfirmCredentialsAsUser(android.accounts.IAccountManagerResponse response, android.accounts.Account account, android.os.Bundle options, boolean expectActivityLaunch, int userId)

public voidcopyAccountToUser(android.accounts.IAccountManagerResponse response, android.accounts.Account account, int userFrom, int userTo)

public voideditProperties(android.accounts.IAccountManagerResponse response, java.lang.String accountType, boolean expectActivityLaunch)

public android.accounts.Account[]getAccounts(java.lang.String accountType)

public android.accounts.Account[]getAccountsAsUser(java.lang.String accountType, int userId)

public voidgetAccountsByFeatures(android.accounts.IAccountManagerResponse response, java.lang.String accountType, java.lang.String[] features)

public android.accounts.Account[]getAccountsByTypeForPackage(java.lang.String type, java.lang.String packageName)

public android.accounts.Account[]getAccountsForPackage(java.lang.String packageName, int uid)

public voidgetAuthToken(android.accounts.IAccountManagerResponse response, android.accounts.Account account, java.lang.String authTokenType, boolean notifyOnAuthFailure, boolean expectActivityLaunch, android.os.Bundle options)

public voidgetAuthTokenLabel(android.accounts.IAccountManagerResponse response, java.lang.String accountType, java.lang.String authTokenType)

public android.accounts.AuthenticatorDescription[]getAuthenticatorTypes(int userId)

public java.lang.StringgetPassword(android.accounts.Account account)

public java.lang.StringgetPreviousName(android.accounts.Account account)

public android.accounts.Account[]getSharedAccountsAsUser(int userId)

public java.lang.StringgetUserData(android.accounts.Account account, java.lang.String key)

public voidhasFeatures(android.accounts.IAccountManagerResponse response, android.accounts.Account account, java.lang.String[] features)

public voidinvalidateAuthToken(java.lang.String accountType, java.lang.String authToken)

public java.lang.StringpeekAuthToken(android.accounts.Account account, java.lang.String authTokenType)

public voidremoveAccount(android.accounts.IAccountManagerResponse response, android.accounts.Account account, boolean expectActivityLaunch)

public voidremoveAccountAsUser(android.accounts.IAccountManagerResponse response, android.accounts.Account account, boolean expectActivityLaunch, int userId)

public booleanremoveAccountExplicitly(android.accounts.Account account)

public booleanremoveSharedAccountAsUser(android.accounts.Account account, int userId)

public voidrenameAccount(android.accounts.IAccountManagerResponse response, android.accounts.Account accountToRename, java.lang.String newName)

public booleanrenameSharedAccountAsUser(android.accounts.Account accountToRename, java.lang.String newName, int userId)

public voidsetAuthToken(android.accounts.Account account, java.lang.String authTokenType, java.lang.String authToken)

public voidsetPassword(android.accounts.Account account, java.lang.String password)

public voidsetUserData(android.accounts.Account account, java.lang.String key, java.lang.String value)

public voidupdateAppPermission(android.accounts.Account account, java.lang.String authTokenType, int uid, boolean value)

public voidupdateCredentials(android.accounts.IAccountManagerResponse response, android.accounts.Account account, java.lang.String authTokenType, boolean expectActivityLaunch, android.os.Bundle options)