Account 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 |
|---|---|
| Account(Parcel) | |
| Account(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| Account(String, String) |
Account(Parcel)
[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public Account(Android.OS.Parcel? in);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Accounts.Account : Android.OS.Parcel -> Android.Accounts.Account
Parameters
- in
- Parcel
The parcel from which to read the account data.
- 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
Account(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected Account(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Accounts.Account : nativeint * Android.Runtime.JniHandleOwnership -> Android.Accounts.Account
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
Account(String, String)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public Account(string name, string type);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Android.Accounts.Account : string * string -> Android.Accounts.Account
Parameters
- name
- String
The account name. This value must not be empty.
- type
- String
The authenticator type for the account. This value must not be empty.
- 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.