Android.Accounts.AccountManager Members

The members of Android.Accounts.AccountManager are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
ActionAuthenticatorIntentstring.
const
AuthenticatorAttributesNamestring.
const
AuthenticatorMetaDataNamestring.
const
ErrorCodeBadArgumentsErrorCode (7).
const
ErrorCodeBadAuthenticationErrorCode (9).
const
ErrorCodeBadRequestErrorCode (8).
const
ErrorCodeCanceledErrorCode (4).
const
ErrorCodeInvalidResponseErrorCode (5).
const
ErrorCodeNetworkErrorErrorCode (3).
const
ErrorCodeRemoteExceptionErrorCode (1).
const
ErrorCodeUnsupportedOperationErrorCode (6).
const
KeyAccountAuthenticatorResponsestring.
const
KeyAccountManagerResponsestring.
const
KeyAccountNamestring. Bundle key used for the Java.Lang.String account name in results from methods which return information about a particular account.
const
KeyAccountsstring.
const
KeyAccountTypestring. Bundle key used for the Java.Lang.String account type in results from methods which return information about a particular account.
const
KeyAndroidPackageNamestring. The Android package of the caller will be set in the options bundle by the Android.Accounts.AccountManager and will be passed to the AccountManagerService and to the AccountAuthenticators.
const
KeyAuthenticatorTypesstring.
const
KeyAuthFailedMessagestring.
const
KeyAuthtokenstring. Bundle key used for the auth token value in results from AccountManager.getAuthToken(android.accounts.Account, java.lang.String, android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler) and friends.
const
KeyAuthTokenLabelstring.
const
KeyBooleanResultstring.
const
KeyCallerPidstring.
const
KeyCallerUidstring. Authenticators using 'customTokens' option will also get the UID of the caller
const
KeyErrorCodestring.
const
KeyErrorMessagestring.
const
KeyIntentstring. Bundle key used for an Android.Content.Intent in results from methods that may require the caller to interact with the user.
const
KeyPasswordstring. Bundle key used to supply the password directly in options to AccountManager.confirmCredentials(android.accounts.Account, android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler), rather than prompting the user with the standard password prompt.
const
KeyUserdatastring.
const
LoginAccountsChangedActionstring. Action sent as a broadcast Intent by the AccountsService when accounts are added, accounts are removed, or an account's credentials (saved password, etc) are changed.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AddAccount(string, string, string[], Android.OS.Bundle, Android.App.Activity, IAccountManagerCallback, Android.OS.Handler) : IAccountManagerFuture
Documentation for this section has not yet been entered.
AddAccountExplicitly(Account, string, Android.OS.Bundle) : bool
Adds an account directly to the AccountManager.
AddOnAccountsUpdatedListener(IOnAccountsUpdateListener, Android.OS.Handler, bool)
Adds an Android.Accounts.IOnAccountsUpdateListener to this instance of the Android.Accounts.AccountManager.
BlockingGetAuthToken(Account, string, bool) : string
This convenience helper synchronously gets an auth token with AccountManager.getAuthToken(android.accounts.Account, java.lang.String, boolean, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler).
ClearPassword(Account)
Forgets a saved password.
ConfirmCredentials(Account, Android.OS.Bundle, Android.App.Activity, IAccountManagerCallback, Android.OS.Handler) : IAccountManagerFuture
Documentation for this section has not yet been entered.
EditProperties(string, Android.App.Activity, IAccountManagerCallback, Android.OS.Handler) : IAccountManagerFuture
Documentation for this section has not yet been entered.
static
FromContext(Android.Content.Context) : AccountManager
Documentation for this section has not yet been entered.
static
Get(Android.Content.Context) : AccountManager
Gets an AccountManager instance associated with a Context.
GetAccounts() : Account[]
Lists all accounts of any type registered on the device.
GetAccountsByType(string) : Account[]
Lists all accounts of a particular type.
GetAccountsByTypeAndFeatures(string, string[], IAccountManagerCallback, Android.OS.Handler) : IAccountManagerFuture
Documentation for this section has not yet been entered.
GetAccountsByTypeForPackage(string, string) : Account[]
Returns the accounts visible to the specified package, in an environment where some apps are not authorized to view all accounts.
GetAuthenticatorTypes() : AuthenticatorDescription[]
Lists the currently registered authenticators.
GetAuthToken(Account, string, bool, IAccountManagerCallback, Android.OS.Handler) : IAccountManagerFuture
Documentation for this section has not yet been entered.
GetAuthToken(Account, string, Android.OS.Bundle, Android.App.Activity, IAccountManagerCallback, Android.OS.Handler) : IAccountManagerFuture
Documentation for this section has not yet been entered.
GetAuthToken(Account, string, Android.OS.Bundle, bool, IAccountManagerCallback, Android.OS.Handler) : IAccountManagerFuture
Documentation for this section has not yet been entered.
GetAuthTokenByFeatures(string, string, string[], Android.App.Activity, Android.OS.Bundle, Android.OS.Bundle, IAccountManagerCallback, Android.OS.Handler) : IAccountManagerFuture
Documentation for this section has not yet been entered.
GetPassword(Account) : string
Gets the saved password associated with the account.
GetPreviousName(Account) : string
Gets the previous name associated with the account or null, if none.
GetUserData(Account, string) : string
Gets the user data named by "key" associated with the account.
HasFeatures(Account, string[], IAccountManagerCallback, Android.OS.Handler) : IAccountManagerFuture
Documentation for this section has not yet been entered.
InvalidateAuthToken(string, string)
Removes an auth token from the AccountManager's cache.
static
NewChooseAccountIntent(Account, IList<Account>, string[], bool, string, string, string[], Android.OS.Bundle) : Android.Content.Intent
Documentation for this section has not yet been entered.
PeekAuthToken(Account, string) : string
Gets an auth token from the AccountManager's cache.
RemoveAccount(Account, IAccountManagerCallback, Android.OS.Handler) : IAccountManagerFuture
Documentation for this section has not yet been entered.
RemoveOnAccountsUpdatedListener(IOnAccountsUpdateListener)
Removes an Android.Accounts.IOnAccountsUpdateListener previously registered with AccountManager.AddOnAccountsUpdatedListener(IOnAccountsUpdateListener, Android.OS.Handler, Android.OS.Handler).
RenameAccount(Account, string, IAccountManagerCallback, Android.OS.Handler) : IAccountManagerFuture
Documentation for this section has not yet been entered.
SetAuthToken(Account, string, string)
Adds an auth token to the AccountManager cache for an account.
SetPassword(Account, string)
Sets or forgets a saved password.
SetUserData(Account, string, string)
Sets one userdata key for an account.
UpdateCredentials(Account, string, Android.OS.Bundle, Android.App.Activity, IAccountManagerCallback, Android.OS.Handler) : IAccountManagerFuture
Documentation for this section has not yet been entered.

Public Events

AccountsUpdatedDocumentation for this section has not yet been entered.