ContactsContract.RawContacts.GetLocalAccountName(Context) Method
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.
The default value used for #ACCOUNT_NAME
of raw contacts when they are inserted
without a value for this column.
[Android.Runtime.Register("getLocalAccountName", "(Landroid/content/Context;)Ljava/lang/String;", "", ApiSince=30)]
public static string? GetLocalAccountName (Android.Content.Context context);
[<Android.Runtime.Register("getLocalAccountName", "(Landroid/content/Context;)Ljava/lang/String;", "", ApiSince=30)>]
static member GetLocalAccountName : Android.Content.Context -> string
Parameters
- context
- Context
Returns
- Attributes
Remarks
The default value used for #ACCOUNT_NAME
of raw contacts when they are inserted without a value for this column.
This account is used to identify contacts that are only stored locally in the contacts database instead of being associated with an Account
managed by an installed application.
When this returns null then #getLocalAccountType
will also return null and when it is non-null #getLocalAccountType
will also return a non-null value.
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.