Language

ContactsContract.RawContacts.DefaultAccount.DefaultAccountAndState.OfLocal Method

Definition

Creates a DefaultAccountAndState instance representing a default account that is set to the local device storage.

[Android.Runtime.Register("ofLocal", "()Landroid/provider/ContactsContract$RawContacts$DefaultAccount$DefaultAccountAndState;", "", ApiSince=36)]
public static Android.Provider.ContactsContract.RawContacts.DefaultAccount.DefaultAccountAndState OfLocal();
[<Android.Runtime.Register("ofLocal", "()Landroid/provider/ContactsContract$RawContacts$DefaultAccount$DefaultAccountAndState;", "", ApiSince=36)>]
static member OfLocal : unit -> Android.Provider.ContactsContract.RawContacts.DefaultAccount.DefaultAccountAndState

Returns

A new DefaultAccountAndState instance with state DEFAULT_ACCOUNT_STATE_LOCAL. This value cannot be null.

Attributes

Remarks

Creates a `DefaultAccountAndState` instance representing a default account that is set to the local device storage.

Android reference for android.provider.ContactsContract.RawContacts.DefaultAccount.DefaultAccountAndState.ofLocal.

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