Code example for AccountManager

Methods: blockingGetAuthToken

0
 
    @Override 
    public String blockingGetAuthToken(Account account, String authTokenType,
                                       boolean notifyAuthFailure)
            throws OperationCanceledException, IOException, AuthenticatorException { 
        return mAccountManager.blockingGetAuthToken(account, authTokenType, notifyAuthFailure);
    } 
 
    @Override 
    public Account[] getAccounts() {
        return mAccountManager.getAccounts();
    } 
 
    @Override 
    public boolean addAccountExplicitly(Account account, String password, Bundle userdata) {
        return mAccountManager.addAccountExplicitly(account, password, userdata);
    } 
 
    @Override 
    public AccountManagerFuture<Boolean> removeAccount(Account account,
            AccountManagerCallback<Boolean> callback, Handler handler) {