Android.Accounts.AccountManager.Get Method
Gets an AccountManager instance associated with a Context.

Syntax

[Android.Runtime.Register("get", "(Landroid/content/Context;)Landroid/accounts/AccountManager;", "")]
public static AccountManager Get (Android.Content.Context context)

Parameters

context
The Android.Content.Context to use when necessary

Returns

Documentation for this section has not yet been entered.

Remarks

Gets an AccountManager instance associated with a Context. The Android.Content.Context will be used as long as the AccountManager is active, so make sure to use a Android.Content.Context whose lifetime is commensurate with any listeners registered to AccountManager.AddOnAccountsUpdatedListener(IOnAccountsUpdateListener, Android.OS.Handler, Android.OS.Handler) or similar methods.

It is safe to call this method from the main thread.

No permission is required to call this method.

[Android Documentation]

Requirements

Namespace: Android.Accounts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5