Share via


AccountManager.GetAuthenticatorTypes Method

Definition

Lists the currently registered authenticators.

[Android.Runtime.Register("getAuthenticatorTypes", "()[Landroid/accounts/AuthenticatorDescription;", "GetGetAuthenticatorTypesHandler")]
public virtual Android.Accounts.AuthenticatorDescription[]? GetAuthenticatorTypes ();
[<Android.Runtime.Register("getAuthenticatorTypes", "()[Landroid/accounts/AuthenticatorDescription;", "GetGetAuthenticatorTypesHandler")>]
abstract member GetAuthenticatorTypes : unit -> Android.Accounts.AuthenticatorDescription[]
override this.GetAuthenticatorTypes : unit -> Android.Accounts.AuthenticatorDescription[]

Returns

An array of AuthenticatorDescription for every authenticator known to the AccountManager service. Empty (never null) if no authenticators are known.

Attributes

Remarks

Lists the currently registered authenticators.

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

No permission is required to call this method.

Caller targeting API level 34 and above, the results are filtered by the rules of package visibility.

Java documentation for android.accounts.AccountManager.getAuthenticatorTypes().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to