Stay organized with collections
Save and categorize content based on your preferences.
android.accounts
Interfaces
Classes
Exceptions
Interfaces
Classes
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# android.accounts\n\nAdded in [API level 5](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.accounts\n================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/accounts/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|-----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| [AccountManagerCallback](/reference/android/accounts/AccountManagerCallback)\\\u003cV\\\u003e | |\n| [AccountManagerFuture](/reference/android/accounts/AccountManagerFuture)\\\u003cV\\\u003e | A AccountManagerFuture represents the result of an asynchronous [AccountManager](/reference/android/accounts/AccountManager) call. |\n| [OnAccountsUpdateListener](/reference/android/accounts/OnAccountsUpdateListener) | An interface that contains the callback used by the AccountManager |\n\nClasses\n-------\n\n|------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AbstractAccountAuthenticator](/reference/android/accounts/AbstractAccountAuthenticator) | Abstract base class for creating AccountAuthenticators. |\n| [Account](/reference/android/accounts/Account) | Value type that represents an Account in the [AccountManager](/reference/android/accounts/AccountManager). |\n| [AccountAuthenticatorActivity](/reference/android/accounts/AccountAuthenticatorActivity) | *This class was deprecated in API level 30. Applications should extend Activity themselves. This class is not compatible with AppCompat, and the functionality it provides is not complex.* |\n| [AccountAuthenticatorResponse](/reference/android/accounts/AccountAuthenticatorResponse) | Object used to communicate responses back to the AccountManager |\n| [AccountManager](/reference/android/accounts/AccountManager) | This class provides access to a centralized registry of the user's online accounts. |\n| [AuthenticatorDescription](/reference/android/accounts/AuthenticatorDescription) | A [Parcelable](/reference/android/os/Parcelable) value type that contains information about an account authenticator. |\n\nExceptions\n----------\n\n|--------------------------------------------------------------------------------------|---|\n| [AccountsException](/reference/android/accounts/AccountsException) | |\n| [AuthenticatorException](/reference/android/accounts/AuthenticatorException) | |\n| [NetworkErrorException](/reference/android/accounts/NetworkErrorException) | |\n| [OperationCanceledException](/reference/android/accounts/OperationCanceledException) | |\n\n-\n\n Interfaces\n ----------\n\n - [AccountManagerCallback](/reference/android/accounts/AccountManagerCallback)\n - [AccountManagerFuture](/reference/android/accounts/AccountManagerFuture)\n - [OnAccountsUpdateListener](/reference/android/accounts/OnAccountsUpdateListener)\n-\n\n Classes\n -------\n\n - [AbstractAccountAuthenticator](/reference/android/accounts/AbstractAccountAuthenticator)\n - [Account](/reference/android/accounts/Account)\n - [AccountAuthenticatorActivity](/reference/android/accounts/AccountAuthenticatorActivity)\n - [AccountAuthenticatorResponse](/reference/android/accounts/AccountAuthenticatorResponse)\n - [AccountManager](/reference/android/accounts/AccountManager)\n - [AuthenticatorDescription](/reference/android/accounts/AuthenticatorDescription)\n-\n\n Exceptions\n ----------\n\n - [AccountsException](/reference/android/accounts/AccountsException)\n - [AuthenticatorException](/reference/android/accounts/AuthenticatorException)\n - [NetworkErrorException](/reference/android/accounts/NetworkErrorException)\n - [OperationCanceledException](/reference/android/accounts/OperationCanceledException)"]]