Dela via


AbstractAccountAuthenticator.GetAuthTokenLabel(String) Method

Definition

Ask the authenticator for a localized label for the given authTokenType.

[Android.Runtime.Register("getAuthTokenLabel", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetAuthTokenLabel_Ljava_lang_String_Handler")]
public abstract string? GetAuthTokenLabel (string? authTokenType);
[<Android.Runtime.Register("getAuthTokenLabel", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetAuthTokenLabel_Ljava_lang_String_Handler")>]
abstract member GetAuthTokenLabel : string -> string

Parameters

authTokenType
String

the authTokenType whose label is to be returned, will never be null

Returns

the localized label of the auth token type, may be null if the type isn't known

Attributes

Remarks

Ask the authenticator for a localized label for the given authTokenType.

Java documentation for android.accounts.AbstractAccountAuthenticator.getAuthTokenLabel(java.lang.String).

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