Language

AuthenticatorDescription Constructors

Definition

Overloads

Name Description
AuthenticatorDescription(IntPtr, JniHandleOwnership)

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

AuthenticatorDescription(String, String, Int32, Int32, Int32, Int32)

A constructor for a full AuthenticatorDescription

AuthenticatorDescription(String, String, Int32, Int32, Int32, Int32, Boolean)

A constructor for a full AuthenticatorDescription

AuthenticatorDescription(IntPtr, JniHandleOwnership)

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

protected AuthenticatorDescription(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Accounts.AuthenticatorDescription : nativeint * Android.Runtime.JniHandleOwnership -> Android.Accounts.AuthenticatorDescription

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

AuthenticatorDescription(String, String, Int32, Int32, Int32, Int32)

A constructor for a full AuthenticatorDescription

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;IIII)V", "")]
public AuthenticatorDescription(string? type, string? packageName, int labelId, int iconId, int smallIconId, int prefId);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;IIII)V", "")>]
new Android.Accounts.AuthenticatorDescription : string * string * int * int * int * int -> Android.Accounts.AuthenticatorDescription

Parameters

type
String

The string that uniquely identifies the authenticator.

packageName
String

The package name used to look up the authenticator's resources.

labelId
Int32

The resource ID of a label suitable for displaying the authenticator.

iconId
Int32

The resource ID of an icon for the authenticator.

smallIconId
Int32

The resource ID of a smaller icon for the authenticator.

prefId
Int32

The resource ID of a preference hierarchy to add to the account settings page.

Attributes

Remarks

Java documentation for android.accounts.AuthenticatorDescription.AuthenticatorDescription(java.lang.String, java.lang.String, int, int, int, int, boolean).

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

AuthenticatorDescription(String, String, Int32, Int32, Int32, Int32, Boolean)

A constructor for a full AuthenticatorDescription

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;IIIIZ)V", "")]
public AuthenticatorDescription(string? type, string? packageName, int labelId, int iconId, int smallIconId, int prefId, bool customTokens);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;IIIIZ)V", "")>]
new Android.Accounts.AuthenticatorDescription : string * string * int * int * int * int * bool -> Android.Accounts.AuthenticatorDescription

Parameters

type
String

The string that uniquely identifies the authenticator.

packageName
String

The package name used to look up the authenticator's resources.

labelId
Int32

The resource ID of a label suitable for displaying the authenticator.

iconId
Int32

The resource ID of an icon for the authenticator.

smallIconId
Int32

The resource ID of a smaller icon for the authenticator.

prefId
Int32

The resource ID of a preference hierarchy to add to the account settings page.

customTokens
Boolean

true if the authenticator handles its own token caching and permission screen; otherwise, false.

Attributes

Remarks

A constructor for a full AuthenticatorDescription

Java documentation for android.accounts.AuthenticatorDescription.AuthenticatorDescription(java.lang.String, java.lang.String, int, int, int, int, boolean).

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