AuthenticatorDescription Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
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
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.