ContactsContract.RawContacts.GetLocalAccountType(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_TYPE
of raw contacts when they are inserted
without a value for this column.
[Android.Runtime.Register("getLocalAccountType", "(Landroid/content/Context;)Ljava/lang/String;", "", ApiSince=30)]
public static string? GetLocalAccountType (Android.Content.Context context);
[<Android.Runtime.Register("getLocalAccountType", "(Landroid/content/Context;)Ljava/lang/String;", "", ApiSince=30)>]
static member GetLocalAccountType : Android.Content.Context -> string
Parameters
- context
- Context
Returns
- Attributes
Remarks
The default value used for #ACCOUNT_TYPE
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 #getLocalAccountName
will also return null and when it is non-null #getLocalAccountName
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.