Class of android.accounts · AccountManager.java · Android's reference
public class AccountManager
The accounts of the device. There are none: each query answers an empty list, and tokens are not kept.
public static final String KEY_ACCOUNT_NAME = "authAccount" sourcepublic static final String KEY_ACCOUNT_TYPE = "accountType" sourcepublic static final String KEY_AUTHTOKEN = "authtoken" sourcepublic static final String KEY_INTENT = "intent" sourcepublic static final String KEY_ERROR_CODE = "errorCode" sourcepublic static final String KEY_ERROR_MESSAGE = "errorMessage" sourcepublic static AccountManager get(Context context) sourcepublic Account[] getAccounts() sourcepublic Account[] getAccountsByType(String type) sourcepublic AccountManagerFuture<Account[]> getAccountsByTypeAndFeatures(String type, String[] features, AccountManagerCallback<Account[]> callback, Handler handler) sourcepublic void invalidateAuthToken(String accountType, String authToken) empty body sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.