Language

Account Constructors

Definition

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

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

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.

Applies to